PT-2026-79054 · Jsoup · Jsoup
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
jsoup versions prior to 1.23.2
Description
An uncontrolled resource consumption issue exists in the
XmlTreeBuilder function. A remote attacker can exhaust JVM heap memory by providing a deeply nested XML document containing uniquely-namespaced elements. This occurs because the builder copies the entire inherited namespace map at every start element, resulting in quadratic time and memory complexity. This can lead to an OutOfMemoryError, causing the application to terminate.Recommendations
Update to a version that includes commit 862ba2f.
Exploit
Fix
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jsoup