Apache cxf-core: No restriction on attachment headers per message
High severity
GitHub Reviewed
Published
Jun 12, 2026
to the GitHub Advisory Database
•
Updated Aug 12, 2026
Package
Affected versions
>= 4.2.0, < 4.2.2
>= 4.0.0, < 4.1.7
< 3.6.12
Patched versions
4.2.2
4.1.7
3.6.12
Description
Published by the National Vulnerability Database
Jun 12, 2026
Published to the GitHub Advisory Database
Jun 12, 2026
Reviewed
Aug 6, 2026
Last updated
Aug 12, 2026
There is no restriction on the amount of attachment headers that a message can contain when being deserialized by Apache CXF, which can lead to uncontrolled resource consumption or a denial of service attack. Users are recommended to upgrade to versions 4.2.2 or 4.1.7 or 3.6.12, which fix this issue by imposing a maximum default of 500 attachments per message.
References