NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2026-75140: jsoup XmlTreeBuilder vulnerable to memory exhaustion through deeply nested namespace declarations

highCVSS 4.0 8.7 · 3.1 7.5GHSA-65r4-943x-97jj

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.

Published Aug 20, 2026 · Updated Oct 5, 2026

Affected packages

org.jsoup:jsoup

Ecosystem
Maven
Affected
< 1.23.2
Fixed in
1.23.2
Check
mvn dependency:tree -Dincludes=org.jsoup:jsoup

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to marcelstoer.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries