cve.bz

CVE-2026-108039 apache cxf: Billion Laughs Attack

7.5 highEPSS 0.5%

High (7.5) in apache cxf. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-776 Improper Restriction of Recursive Entity References in DTDs (Billion Laughs Attack)
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-108039 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-108039?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-108039?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-108039 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-108039

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-108039](https://cve.bz/cve/badge/CVE-2026-108039.svg)](https://cve.bz/cve/CVE-2026-108039)

HTML:

<a href="https://cve.bz/cve/CVE-2026-108039"><img src="https://cve.bz/cve/badge/CVE-2026-108039.svg" alt="CVE-2026-108039"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache CXFfrom 4.2.0 before 4.2.4
Apache Software Foundation Apache CXFfrom 4.0.0 before 4.1.9
Apache Software Foundation Apache CXFbefore 3.6.13

Red Hat

Red Hat rates this Important.

Red Hat's statement

An IMPORTANT severity denial of service flaw was found in Apache CXF, as shipped in Red Hat JBoss Fuse, Red Hat JBoss Web Server, Red Hat JBoss Enterprise Application Platform, Red Hat Single Sign-On 7, and the Red Hat build of Apache Camel. The Apache CXF StaxUtils XML parsing utility did not enforce limits on the total number of elements or the total number of characters in an incoming XML document by default. A remote, unauthenticated attacker could exploit this by sending an excessively large XML request to an exposed CXF endpoint, causing the application to consume excessive memory and CPU during parsing, especially where CXF builds a DOM from the input (for example SAAJ or WS-Security), resulting in a denial of service when no request size limit was configured. The Red Hat severity of IMPORTANT (CVSS 7.5) is consistent with the upstream assessment. Fixes are being pursued with the responsible engineering teams for the delegated product streams, including JBoss Fuse 7, EAP 8.1, and the Red Hat build of Apache Camel. The EAP XP 6 stream is not affected because the vulnerable component is not present in that offering.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat build of Apache Camel 4 for Quarkus 3cxf-coreAffected
Red Hat build of Apache Camel for Spring Boot 4cxf-coreAffected
Red Hat Fuse 7cxf-coreNot affected
Red Hat JBoss Enterprise Application Platform 7cxf-coreOut of support scope
Red Hat JBoss Enterprise Application Platform 7jboss-eap-7/eap74-els-openjdk11-openshift-rhel8Out of support scope
Red Hat JBoss Enterprise Application Platform 7jboss-eap-7/eap74-els-openjdk17-openshift-rhel8Out of support scope
Red Hat JBoss Enterprise Application Platform 7jboss-eap-7/eap74-els-openjdk8-openshift-rhel8Out of support scope
Red Hat JBoss Enterprise Application Platform 8cxf-coreAffected
Red Hat JBoss Enterprise Application Platform Expansion Packcxf-coreNot affected
Red Hat JBoss Web Server 5cxf-coreOut of support scope
Red Hat Single Sign-On 7cxf-coreWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-108039.

Attack patterns (CAPEC)

  • CAPEC-197 Exponential Data Expansion Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON