Skip to content
VulniPulse
High7.5Apache Software Foundation

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.

Open the Apache advisory

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

Apache Software FoundationUnclassified

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.

Versions named by the source
  • 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

Compare every advisory for CVE-2026-108039

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.

Alert me about Apache