High · published June 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.
| Product | Versions | Fixed in |
|---|---|---|
| apache/cxf | < 4.1.7 | 4.1.7 |
| apache/cxf | ≥ 4.2.0, < 4.2.2 | 4.2.2 |