CVE-2026-108039
published high CVSS 3.1 · 7.5Apache CXF: Prevent unbounded XML document size in StaxUtils by adding default element and character limits
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.cxf:cxf-coreApache CXF · 4.2.0 to < 4.2.4 · 4.0.0 to < 4.1.9 · 0 to < 3.6.13 · Other versions: unaffected | Affected | Not stated | apache |
Description
By default, StaxUtils placed no limit on the total number of elements or the total number of characters in an XML document. A very large request could therefore use a lot of memory and CPU during parsing, especially where CXF builds a DOM from the input (for example SAAJ or WS-Security), and could cause a denial of service when no request size limit was configured. Both limits now have defaults: the maximum element count is 100 × maxChildElements (5,000,000 by default), and the maximum document size is 256M characters. Applications that process larger documents can raise the limits with the org.apache.cxf.stax.maxElementCount and org.apache.cxf.stax.maxXMLCharacters properties. Users are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fix this issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache CXF | 4.2.0 to < 4.2.4 (affected · semver)4.0.0 to < 4.1.9 (affected · semver)0 to < 3.6.13 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-776 CWE-776 Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
References
2Provider assertions
3apache · cna
Apache CXF: Prevent unbounded XML document size in StaxUtils by adding default element and character limits
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4dda7142a11769b8e63456e903ec6379102a29b138035e2eb8ec361975dbe0f0
- Ingested
- 15 Oct 2026, 20:29:31 UTC
- Source record
- Official CVE record