Skip to main content

jsoup EUVDEUVD-2026-63476

| CVE-2026-75140 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-08-20 VulnCheck GHSA-65r4-943x-97jj
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted deeply-nested XML via HTTP
  2. Delivery
    XmlTreeBuilder copies namespace HashMap per element
  3. Exploit
    Quadratic memory allocations accumulate
  4. Execution
    JVM heap exhausted
  5. Impact
    OutOfMemoryError terminates application

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerable code path is triggered only when jsoup's XmlTreeBuilder is invoked - that is, when XML is parsed using jsoup with an XML parser (not the default HTML parser). Applications that parse only HTML or do not expose an XML-parsing endpoint to untrusted input are not directly reachable. No authentication is required (PR:N in both CVSS 4.0 and the assessed 3.1 vector), and no special server configuration is needed beyond the application accepting user-supplied XML content. What limits exploitation: if the application uses jsoup solely for HTML parsing, or wraps XML input with payload-size or depth limits before reaching jsoup, the attack surface is substantially reduced. The vulnerability does not affect confidentiality or integrity - impact is limited to application availability via JVM heap exhaustion.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N/VA:H confirms unauthenticated, low-complexity, fully remote exploitability with high availability impact and no attack requirements. The score of 8.7 is well-supported by the description: the attack needs no authentication, no user interaction, and no special configuration - only the ability to submit XML to a jsoup-consuming endpoint. EPSS data was not provided in the intelligence package; absence of a KEV listing and no known POC moderates immediate urgency slightly, but the attack is inherently automatable and requires only a crafted text document, so exploitation difficulty is low for any capable threat actor. The availability-only impact (C:N/I:N/A:H) means confidentiality and integrity are unaffected, but a successful attack fully terminates the target JVM process, which is operationally equivalent to a complete service outage. For any application that exposes an XML-parsing endpoint backed by jsoup - content management systems, document pipelines, API gateways - this should be treated as urgent given the patch is already available and the remediation cost is low.

Exploit ScenarioDerived

An attacker submits an HTTP request containing a crafted XML document with thousands of uniquely-namespaced, deeply nested elements to any endpoint that passes the body through jsoup's XML parser. Each element causes XmlTreeBuilder to allocate a new HashMap copy, and the cumulative allocation rapidly exceeds JVM heap limits, throwing an OutOfMemoryError that terminates the application process or JVM. No public proof-of-concept has been identified, but the attack is straightforward to construct by any developer familiar with XML namespace syntax.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

Uncontrolled resource consumption in jsoup through version 1.23.2 allows remote unauthenticated attackers to crash JVM-based applications by submitting deeply nested XML with unique namespace declarations per element. The XmlTreeBuilder component copied the full inherited namespace HashMap at every XML start element, producing O(n²) time and memory growth that exhausts heap and triggers an OutOfMemoryError. No public exploit has been identified and the vulnerability is not listed in CISA KEV, but the CVSS 4.0 score of 8.7 reflects zero authentication or complexity barriers - any application that feeds user-supplied XML through jsoup is directly at risk.

RemediationAI

Upgrade jsoup to the first release incorporating commit 862ba2f (https://github.com/jhy/jsoup/commit/862ba2f1d48ee95609183dbcfc848c9fd7afc76a); check the jsoup releases page for the tagged version that follows 1.23.2. The patch available per vendor advisory is referenced at https://www.vulncheck.com/advisories/jsoup-uncontrolled-resource-consumption-in-xmltreebuilder. If an immediate upgrade is not feasible, consider rejecting or size-limiting XML input at the application or API-gateway layer before it reaches jsoup's XmlTreeBuilder - for example, enforcing a maximum payload size (e.g., 1 MB) and a maximum XML nesting depth at the ingestion boundary. Be aware that size alone is insufficient, since a small document can still contain thousands of unique namespace declarations across shallow-but-wide trees; depth and namespace-count limits provide stronger protection. These controls add parsing overhead and may reject legitimate edge-case documents, so they should be treated as temporary workarounds pending the library upgrade.

Affected VersionsENISA

soup 0 ≤1.23.1
soup patch: 862ba2f1d48ee95609183dbcfc848c9fd7afc76a

Affected Packages

maven org.jsoup:jsoup fix: 1.23.2
euvd soup no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

jsoup is a Java HTML and XML parsing library (CPE: cpe:2.3:a:jhy:soup:*:*:*:*:*:*:*:*) widely used in JVM-based applications. The XmlTreeBuilder class manages XML namespace resolution by maintaining a prefix-to-URI map. Before commit 862ba2f, the implementation stored a stack of full HashMap copies - one per nested element - meaning each start-element event triggered a deep copy of the entire inherited namespace map. With n nesting levels each introducing a unique namespace, total allocations scale as O(n²), enabling an attacker to exhaust JVM heap with a single malformed document. CWE-770 (Allocation of Resources Without Limits or Throttling) is the correct root-cause class: no resource cap or depth limit existed on namespace map growth. The fix (PR #2556) replaces copy-on-entry with a diff-tracking approach using lightweight NamespaceChange records, restoring parent bindings on scope exit in O(1) space per declaration.

Know when Soup gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

Network-reachable with no auth, no interaction, and no complexity; impact is availability-only via OOM crash, no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.5 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2,112 maven packages depend on org.jsoup:jsoup (249 direct, 1,865 indirect)

Ecosystem-wide dependent count for version 1.23.2.

Executive ViewAI

Why It Matters

jsoup library versions through 1.23.2 contain a denial-of-service vulnerability that allows attackers to crash applications through XML parsing without authentication. Organizations must immediately upgrade to the patched version to prevent service disruptions and availability incidents.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
High
widely used Java HTML/XML parsing library across enterprise and OSS projects
Threat Intel
1
1 source
Data Quality
9 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy