GitHub Advisoryadvisory · Maven

GHSA-65r4-943x-97jj jsoup XmlTreeBuilder vulnerable to memory exhaustion through deeply nested namespace declarations

HIGH Published 2026-08-20 Modified 2026-10-05 Official page ↗
Aliases
CVE-2026-75140
Ecosystem
Maven
Packages
org.jsoup:jsoup
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-770
Reviewed
2026-10-05

Affected packages

• Maven org.jsoup:jsoup: < 1.23.2 → fixed in 1.23.2

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-75140 jsoup through 1.23.2, fixed in commit 862ba2f, contains an uncontrolled resource consumption vulnerability in XmlTreeBuilder that allows… vulnerability

Weakness · CWE (1)

  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References