Resource exhaustion in Jhy Soup

CVE-2026-75140

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.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-75140?
CVE-2026-75140 is a high-severity vulnerability in Jhy Soup, classified under Allocation of Resources Without Limits or Throttling. CVSS score: 7.5/10. Published 2026-08-20.
How severe is CVE-2026-75140?
High severity. CVSS v3 base score is 7.5 out of 10.