GHSA-65r4-943x-97jj

Suggest an improvement
Source
https://github.com/advisories/GHSA-65r4-943x-97jj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-65r4-943x-97jj/GHSA-65r4-943x-97jj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-65r4-943x-97jj
Aliases
Downstream
CGA (6)
Published
2026-08-20T18:30:54Z
Modified
2026-10-05T22:45:05Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-770"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-10-05T22:33:36Z",
    "nvd_published_at":  "2026-08-20T16:18:02Z",
    "severity":  "HIGH"
}
References

Affected packages

Maven / org.jsoup:jsoup

Package

Name
org.jsoup:jsoup
View open source insights on deps.dev
Purl
pkg:maven/org.jsoup/jsoup

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.23.2

Affected versions

0.*
0.2.1b
0.2.2
0.3.1
1.*
1.1.1
1.2.1
1.2.2
1.2.3
1.3.1
1.3.2
1.3.3
1.4.1
1.5.1
1.5.2
1.6.0
1.6.1
1.6.2
1.6.3
1.7.1
1.7.2
1.7.3
1.8.1
1.8.2
1.8.3
1.9.1
1.9.2
1.10.1
1.10.2
1.10.3
1.11.1
1.11.2
1.11.3
1.12.1
1.12.2
1.13.1
1.14.1
1.14.2
1.14.3
1.15.1
1.15.2
1.15.3
1.15.4
1.16.1
1.16.2
1.17.1
1.17.2
1.18.1
1.18.2
1.18.3
1.19.1
1.20.1
1.21.1
1.21.2
1.22.1
1.22.2
1.23.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-65r4-943x-97jj/GHSA-65r4-943x-97jj.json"