CVE-2026-108039: Apache By default, StaxUtils placed no limit on the total number of elements or the total number of characters in an XML document
This Apache advisory covers CVE-2026-108039. Related products: Apache CXF.
Key facts
- Vendor rating
- High, CVSS 7.5
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H· base score 7.5, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: none. Integrity impact: none. Availability impact: high.- Weakness
- CWE-776 Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
- EPSS
- 0.46% chance of exploitation in the next 30 days (40th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Versions named
- Apache CXF 4.2.0 before 4.2.4; Apache CXF 4.0.0 before 4.1.9; Apache CXF before 3.6.13
- Fixed in
- 4.2.4, 4.1.9, 3.6.13
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Related products & platforms
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.
Text from the source record.
- Apache CXF 4.2.0 before 4.2.4
- Apache CXF 4.0.0 before 4.1.9
- Apache CXF before 3.6.13
Official advisory · high-confidence parse· fetched ·verify at source
How to fix CVE-2026-108039
Upgrade to the first fixed release for your version, shown in the table above.
Vendor guidance
- 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.
- Users are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fix this issue.
CVE-2026-108039 in other vendors' advisories
- Red Hat: CVE-2026-108039, high severity, fixed in 4.2.4, 4.1.9, 3.6.13 and 2 more
More Apache Software Foundation advisories
CVE-2026-115690Nov 16, 2026Apache CXF: Apache WSS4J remembers the UsernameToken Nonce, the Timestamp and signatureCVE-2026-107938Oct 9, 2026In Apache CXF, the Netty-based HTTP client transport (cxf-rt-transports-http-netty-client)CVE-2026-107937Oct 9, 2026In Apache CXF, the parser for multipart/MTOM attachment part headers did not fully enforceCVE-2026-100227Oct 9, 2026Improper Verification of Cryptographic Signature vulnerability in Apache CXF's JAX-RS XMLCVE-2026-97791Oct 9, 2026In Apache CXF, STSTokenValidator checks whether a SAML assertion is signed by a trustedCVE-2026-97468Oct 9, 2026Apache CXF's STSTokenValidator and Security Token Service (STS) cached validated security
Apache Software Foundation advisories, October 2026All Apache Software Foundation advisories
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.