What’s Vulnerable › Vulnerabilities

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

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache CXF 4.1.7, 4.2.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-50645 or the next vulnerability affects your stack