NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2026-50645: Apache cxf-core: No restriction on attachment headers per message

highCVSS 3.1 7.5GHSA-ghvc-7hp8-2g2v

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 entries