Apache CXF DoS via attachment-max-size (before 4.2.3/4.1.8/3.6.12)
CVE-2026-54225 Published on August 6, 2026

Apache CXF: Denial of Service attack via large attachments
Apache CXF allows to control the maximum attachment size via the "attachment-max-size". Prior to Apache CXF 4.2.3 and 4.1.8 and 3.6.12, there was no default placed on this size, meaning that a denial of service attack is possible if the user doesn't explicitly set the limit. Users should update to Apache CXF 4.2.3 or 4.1.8 or 3.6.12 which fixes this problem by imposing a default attachment size limit of 50mb.

Vendor Advisory NVD

Weakness Type

Allocation of Resources Without Limits or Throttling

The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.


Products Associated with CVE-2026-54225

Want to know whenever a new CVE is published for Apache CXF? stack.watch will email you.

 

Affected Versions

Apache Software Foundation Apache CXF: