CVE-2026-75140: jsoup Uncontrolled Resource Consumption in XmlTreeBuilder
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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · CWE-770
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
jhy: soup
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/jhy/jsoup/commit/862ba2f1d48ee95609183dbcfc848c9fd7afc76a (opens in new tab)
- github.com/jhy/jsoup/pull/2556 (opens in new tab)
- www.vulncheck.com/advisories/jsoup-uncontrolled-resource-consumption-in-xmltreebuilder (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)