CVE-2026-75140
JSON

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 packageVersionsReported by
jhy soupup to 1.23.1
Not affected: 862ba2f1d48ee95609183dbcfc848c9fd7afc76a
CVE List
org.jsoup:jsoup (Maven)before 1.23.2GitHub Advisory Database

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS: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

CWE-770

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

SourceRecordLicence
CVE ListCVE-2026-75140 changed 2026-11-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-65r4-943x-97jj changed 2026-10-05CC-BY-4.0
NVDCVE-2026-75140 changed 2026-10-18Public domain