8.7high
jsoup Uncontrolled Resource Consumption in XmlTreeBuilder
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.75% (higher than 51% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-65r4-943x-97jj
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
| Product or package | Versions | Reported by |
|---|---|---|
| jhy soup | up to 1.23.1 Not affected: 862ba2f1d48ee95609183dbcfc848c9fd7afc76a | CVE List |
| org.jsoup:jsoup (Maven) | before 1.23.2 | GitHub Advisory Database |
All scores
| VulnCheck | 8.7high CVSS:4.0 | 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 | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
jsoup hasta la versión 1.23.2, corregido en el commit 862ba2f, contiene una vulnerabilidad de consumo de recursos no controlado en XmlTreeBuilder que permite a atacantes remotos agotar la memoria heap de la JVM al proporcionar un documento XML profundamente anidado con elementos con espacios de nombres únicos. El constructor copia el mapa completo de espacios de nombres heredados en cada elemento de inicio, causando una complejidad cuadrática de tiempo y memoria, que los atacantes pueden explotar para activar un OutOfMemoryError y terminar la aplicación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-75140 changed 2026-11-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-65r4-943x-97jj changed 2026-10-05 | CC-BY-4.0 |
| NVD | CVE-2026-75140 changed 2026-10-18 | Public domain |