GHSA-65r4-943x-97jj

    Dashboard / Vulnerabilities / GHSA-65r4-943x-97jj

    GHSA-65r4-943x-97jj

    Published: 20 Aug 2026Last Modified: 5 Oct 2026

    Summary: jsoup XmlTreeBuilder vulnerable to memory exhaustion through deeply nested namespace declarations

    Details: 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 packages

    Package

    Name: org.jsoup:jsoup

    Purl: pkg:maven/org.jsoup/jsoup

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.23.2

    Affected versions

    0.2.1b
    0.2.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-65r4-943x-97jj | CVE-DB