Disclosure summary
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.
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
GitHub Reviewed Security Advisories · GHSA-65r4-943x-97jj
Open original source · Updated Oct 05, 2026
jsoup XmlTreeBuilder vulnerable to memory exhaustion through deeply nested namespace declarations
Source severity: HIGH / 8.7
| Ecosystem | Package | Affected range | First patched |
|---|---|---|---|
| maven | org.jsoup:jsoup | < 1.23.2 | 1.23.2 |
Original records & references
- NIST NVD record
- CVE Program record
- github.com — Reviewed advisory
PUBLISHED 2026-08-20T14:30:54-04:00
MODIFIED 2026-10-05T18:33:38-04:00
INGESTED 2026-10-06T11:45:33-04:00