# CVE-2026-75140: jsoup Uncontrolled Resource Consumption in XmlTreeBuilder

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 51% of CVEs (2026-11-30)
- Published: 2026-08-20T15:56:50.377Z
- Modified: 2026-11-08T14:08:49.847Z
- Also known as: GHSA-65r4-943x-97jj
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

jsoup through 1.23.2, fixed in commit 862ba2f, contains an uncontrolled resource consumption vulnerability in XmlTreeBuilder that allows remote attackers to exhaust JVM heap memory by supplying a deeply nested XML document with uniquely-namespaced elements. The builder copies the entire inherited namespace map on every start element, causing quadratic time and memory complexity, which attackers can exploit to trigger an OutOfMemoryError and terminate the application.

(As written by CVE List.)

## Affected

- jhy soup: up to 1.23.1 (not affected: 862ba2f1d48ee95609183dbcfc848c9fd7afc76a)
- org.jsoup:jsoup (Maven): before 1.23.2

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: 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`
- GitHub: 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`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/jhy/jsoup/pull/2556> (issue-tracking, patch, web)
- <https://github.com/jhy/jsoup/commit/862ba2f1d48ee95609183dbcfc848c9fd7afc76a> (patch, web)
- <https://www.vulncheck.com/advisories/jsoup-uncontrolled-resource-consumption-in-xmltreebuilder> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-75140> (advisory)
- <https://github.com/jhy/jsoup> (package)
- <https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.2> (web)

## Sources

- CVE List: [CVE-2026-75140](https://www.cve.org/CVERecord?id=CVE-2026-75140), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-65r4-943x-97jj](https://github.com/advisories/GHSA-65r4-943x-97jj), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-75140](https://nvd.nist.gov/vuln/detail/CVE-2026-75140), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2026-75140 · Whole record: https://cve.day/CVE-2026-75140.json · Rebuilt by cve.day 2026-11-25T22:59:34.646Z
