{"id":"CVE-2026-108039","published":"2026-10-09T11:17:02.387","lastModified":"2026-10-15T18:17:25.380","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.\nUsers are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fix this issue.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwes":["CWE-776"],"vendors":[],"products":[],"references":[{"url":"https://lists.apache.org/thread.html/ms2gbpof609o0v1bjlzb1rn7fwh61l1j","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/09/14","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"StaxUtils in Apache CXF failed to limit XML document size and element count, allowing attackers to consume excessive memory and CPU during parsing and potentially cause denial of service through large XML requests. This vulnerability affects applications that process XML documents without configured request size limits.","exploitability":"Exploitation is relatively straightforward as it requires sending a large XML payload that exceeds default memory and CPU limits, with no special preconditions needed beyond access to the vulnerable service.","blast_radius":"The impact could be significant across all Apache CXF applications processing XML documents without configured limits, potentially affecting multiple services and users during a DoS attack.","remediation":"Upgrade to Apache CXF versions 4.2.4, 4.1.9, or 3.6.13 which contain the fix for this issue.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["xml","dos","cxf","stax"],"model":"garnet-coder","analyzedAt":"2026-10-17T09:02:33.869Z"}}