CVE-2026-50645: Apache cxf-core: No restriction on attachment headers per message
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.
Published Jun 12, 2026 · Updated Aug 12, 2026
Affected packages
org.apache.cxf:cxf-core
- Ecosystem
- Maven
- Affected
- >= 4.2.0, < 4.2.2
- Fixed in
- 4.2.2
- Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-core
org.apache.cxf:cxf-core
- Ecosystem
- Maven
- Affected
- >= 4.0.0, < 4.1.7
- Fixed in
- 4.1.7
- Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-core
org.apache.cxf:cxf-core
- Ecosystem
- Maven
- Affected
- < 3.6.12
- Fixed in
- 3.6.12
- Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to julianladisch, coheigea, udengaardandersent-ELS.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-49875
Apache CXF has Improper Restriction of XML External Entity Reference
critical9.8Jun 12, 2026CVE-2025-48795
Apache CXF is vulnerable to DoS attacks as entire files are read into memory and logged
medium5.6Jul 15, 2025CVE-2025-23184
Apache CXF: Denial of Service vulnerability with temporary files
high7.5Jan 21, 2025
