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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-10-09 · Modified: 2026-10-15
- Record: https://cvemate.com/vulnerability/CVE-2026-108039 · JSON: https://cvemate.com/vulnerability/CVE-2026-108039/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.424%, percentile 38.683%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache cxf: ≥ 4.2.0, \< 4.2.4 \| ≥ 4.0.0, \< 4.1.9 \| \< 3.6.13
- apache cxf: \< 3.6.13 \| ≥ 4.0.0, \< 4.1.9 \| ≥ 4.2.0, \< 4.2.4

## References

- <https://lists.apache.org/thread.html/ms2gbpof609o0v1bjlzb1rn7fwh61l1j>
- <http://www.openwall.com/lists/oss-security/2026/10/09/14>

---

Data as of 2026-12-05T07:13:37.719Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
