CVE-2019-12406
Potential DOS attack due to unrestricted attachment count in messages
Also known as GHSA-58p8-9g59-q2hr
Mitigation
- Upgrade org.apache.cxf:cxf to one of 3.2.11, 3.3.4 (or later in the same release line).
- Upgrade org.apache.cxf:apache-cxf to one of 3.2.11, 3.3.4 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.cxf:cxf (< 3.2.11)
- Projects that depend on Maven package org.apache.cxf:apache-cxf (< 3.2.11)
- Anyone running Apache CXF Apache CXF versions before 3.3.4 and 3.2.11
Vulnerability facts
- Affected
- org.apache.cxf:cxf < 3.2.11; org.apache.cxf:apache-cxf < 3.2.11
- Fixed in
- 3.2.11, 3.3.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 6.26% chance of exploitation in 30 days (percentile 94, 2026-11-26)
- CWE
- CWE-770
- Modified
Description
Apache CXF before 3.3.4 and 3.2.11 does not restrict the number of message attachments present in a given message. This leaves open the possibility of a denial of service type attack, where a malicious user crafts a message containing a very large number of message attachments. From the 3.3.4 and 3.2.11 releases, a default limit of 50 message attachments is enforced. This is configurable via the message property "attachment-max-count".
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.cxf:cxf | < 3.2.11 | 3.2.11, 3.3.4 | osv |
| Maven org.apache.cxf:apache-cxf | < 3.2.11 | 3.2.11, 3.3.4 | osv |
| Apache CXF | Apache CXF versions before 3.3.4 and 3.2.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2019-12406. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2019-12406.md Affected: org.apache.cxf:cxf < 3.2.11; org.apache.cxf:apache-cxf < 3.2.11 Fixed in: 3.2.11, 3.3.4 Steps: 1. Search this machine and project for org.apache.cxf:cxf (Maven), org.apache.cxf:apache-cxf (Maven), Apache CXF: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rb2a6dab1f781f55326543c56dc29ea677759439ddfeba920c83037e6%40%3Cissues.cxf.apache.org%3E
- https://lists.apache.org/thread.html/r92238967ba2783d3ab5a483f2e17f5fdaa8ace98990f69f9e8e15de0%40%3Cissues.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rabc395b38acb7f2465bfbf0bc16d6e1e95720c89bea87abe8808eeea%40%3Cissues.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rca465c9d1e1969281338522b76701c85a07abd045c494261137236e0%40%3Cissues.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf@%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/r92238967ba2783d3ab5a483f2e17f5fdaa8ace98990f69f9e8e15de0@%3Cissues.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rabc395b38acb7f2465bfbf0bc16d6e1e95720c89bea87abe8808eeea@%3Cissues.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rb2a6dab1f781f55326543c56dc29ea677759439ddfeba920c83037e6@%3Cissues.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c@%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rca465c9d1e1969281338522b76701c85a07abd045c494261137236e0@%3Cissues.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6@%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4@%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e@%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4@%3Ccommits.cxf.apache.org%3E
FAQ
Is CVE-2019-12406 being exploited?
There is no confirmed exploitation: CVE-2019-12406 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 6.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2019-12406?
Medium: CVSS 6.5 (v3.1, scored by NVD). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2019-12406?
org.apache.cxf:cxf < 3.2.11; org.apache.cxf:apache-cxf < 3.2.11.
Is there a fix for CVE-2019-12406?
Yes. Fixed in 3.2.11, 3.3.4. Upgrade org.apache.cxf:cxf to one of 3.2.11, 3.3.4 (or later in the same release line). Upgrade org.apache.cxf:apache-cxf to one of 3.2.11, 3.3.4 (or later in the same release line).
How do I check if I'm affected by CVE-2019-12406?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.