CVE-2026-75140

jsoup Uncontrolled Resource Consumption in XmlTreeBuilder

Published Aug 20, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-65r4-943x-97jj jsoup XmlTreeBuilder vulnerable to memory exhaustion through deeply nested namespace declarations
History
Type Values Removed Values Added
First Time appeared Jhy
Jhy jsoup
Vendors & Products Jhy
Jhy jsoup
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title jsoup Uncontrolled Resource Consumption in XmlTreeBuilder
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:08 PM
Reserved
Aug 17, 2026, 6:39 PM
Status
Awaiting Analysis
Published
Aug 20, 2026, 4:18 PM
Modified
Oct 18, 2026, 8:10 PM
Severity
Important
Public date
Aug 20, 2026, 3:56 PM