Vulnerability · Published Aug 20, 2026 · Assigned by VulnCheck
CVE-2026-75140jsoup Uncontrolled Resource Consumption in XmlTreeBuilder
High 7.5
In plain English
A high-severity resource allocation without limits in soup from jhy. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | jsoup | no fix listed | DEBIAN-CVE-2026-75140 |
| Debian:13 | jsoup | no fix listed | DEBIAN-CVE-2026-75140 |
| Debian:14 | jsoup | 1.23.2-1 | DEBIAN-CVE-2026-75140 |
| Maven | org.jsoup:jsoup | 1.23.2 | GHSA-65r4-943x-97jj |
| Ubuntu:22.04:LTS | jsoup | no fix listed | UBUNTU-CVE-2026-75140 |
| Ubuntu:24.04:LTS | jsoup | no fix listed | UBUNTU-CVE-2026-75140 |
| Ubuntu:26.04:LTS | jsoup | no fix listed | UBUNTU-CVE-2026-75140 |
| Ubuntu:26.10 | jsoup | no fix listed | UBUNTU-CVE-2026-75140 |
Affected products (as reported)
Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- Pull Request issue-tracking
- Patch Commit patch
- https://www.vulncheck.com/advisories/jsoup-uncontrolled-resource-consumption-in-xmltreebuilder third-party-advisory