Skip to content
VulniPulse
High 2 vendors · 2 advisories

CVE-2026-108039: Apache CXF: Prevent unbounded XML document size in StaxUtils by adding default element and character limits

CVE-2026-108039 key facts

CISA KEV
Not listed (catalogue checked )
Highest advisory rating
High
CVSS base score
7.5 (Apache), 7.5 (Red Hat)
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, .
Fixed releases
  • Apache: 4.2.4, 4.1.9, 3.6.13
  • Red Hat: 4.2.4, 4.1.9, 3.6.13, org.apache.cxf/cxf-core:4.1.9.rhbac-redhat-00001, RHSA-2026:95622
Vendor advisories
2 from Apache, Red Hat
Assigned by
apache (CNA)
CVE record published
Listed by VulniPulse
Record changed

Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-108039; each belongs to its advisory, not to every product listed. How records are collected and checked.

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 CVE.org record (apache).

How do I fix CVE-2026-108039?

Upgrade to a fixed release named by the vendor:

  • Apache: 4.2.4, 4.1.9, 3.6.13
  • Red Hat: 4.2.4, 4.1.9, 3.6.13, org.apache.cxf/cxf-core:4.1.9.rhbac-redhat-00001, RHSA-2026:95622
  • By default, StaxUtils placed no limit on the total number of elements or the total number of characters in an XML document. (Apache)
  • 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. (Apache)
  • Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. (Red Hat)

Vendor advisories for CVE-2026-108039

Apache

1 advisory
  • Advisory severityHigh7.5

    High [CVE-2026-108039] By default, StaxUtils placed no limit on the total number of elements or the total number of characters in an XML document

    CVE-2026-108039Source published Source updated

    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 products — impact not confirmed
    • Apache CXF
    Source-reported affected versions
    • Apache CXF 4.2.0 before 4.2.4
    • Apache CXF 4.0.0 before 4.1.9
    • Apache CXF before 3.6.13
    Source-reported fixed versions
    • 4.2.4
    • 4.1.9
    • 3.6.13
    Mitigation 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.

Red Hat

1 advisory
  • Advisory severityHigh7.5

    High [CVE-2026-108039] Denial of Service via unrestricted XML parsing

    CVE-2026-108039Source published Source updated

    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. A remote attacker…

    Affected products in this advisory
    • Red Hat Build of Apache Camel 3.33.4.SP3
    • Red Hat build of Apache Camel 4 for Quarkus 3
    • Red Hat build of Apache Camel for Spring Boot 4
    • Red Hat JBoss Enterprise Application Platform 7

    3 more entries in the full advisory.

    Source-reported affected versions
    Affected-version details not available in this record.
    Source-reported fixed versions
    • 4.2.4
    • 4.1.9
    • 3.6.13
    • org.apache.cxf/cxf-core:4.1.9.rhbac-redhat-00001

    1 more entries in the full advisory.

    Mitigation guidance
    • Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

References

Timeline

  1. CVE record published
  2. First vendor advisory listed by VulniPulse
  3. CVE record last updated

All Apache 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