GHSA-jghc-rj2j-x37x
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach endpoint deserializing untrusted sketch
-
DeliverySubmit small crafted sketch payload
-
ExploitDeserializer trusts declared sizes/counts
-
ExecutionAllocate excessive memory or loop indefinitely
-
PersistOutOfMemoryError or hang
-
ImpactService denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption 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 | Exploitation requires that the target application deserialize DataSketches sketches from an untrusted source - this is the vendor-stated precondition and is the primary limiting factor; applications that only exchange sketches between trusted internal components are not exposed. The specific affected paths are sketch deserializers that trust sizes and counts declared in the serialized input, and FrequentLongsSketch.getInstance(String) where a crafted string makes deserialization or a later update loop indefinitely. Affected versions are Apache DataSketches Java through 9.0.0; 9.1.0 adds bounds validation on lgCurMapSize, map length, and numActive (per PR #777). No authentication or user interaction is required at the CVSS level (PR:N/UI:N), but the untrusted-deserialization requirement means reachability depends on application design rather than a default network-exposed service. |
| Impact | Signals here are consistent and point to a genuine but bounded availability-only issue, not a top-tier emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes a network-reachable, low-complexity, unauthenticated flaw with pure availability impact and no confidentiality or integrity loss - fully aligned with the CWE-400 Uncontrolled Resource Consumption description (crafted serialized input forcing excessive memory allocation / OutOfMemoryError, or an infinite loop in FrequentLongsSketch.getInstance(String)). EPSS is low at 0.21% (11th percentile), the CVE is NOT on CISA KEV, and exploitation status is best described as 'no confirmed active exploitation.' A public PoC reference exists in the form of concrete crafted-input test cases in the upstream fix PR (apache/datasketches-java#777), which demonstrate the exact trigger strings but are regression tests, not a weaponized exploit. The one signal that meaningfully narrows real-world risk is explicit in the vendor description: only applications that deserialize sketches from untrusted sources are affected - the base vector's AV:N/PR:N does not capture this architectural precondition, so the headline 7.5 overstates exposure for the common case where sketches are exchanged only between trusted internal components. The vuln.today 'this_week' priority is reasonable and not in conflict with the low EPSS: it reflects an easy-to-trigger DoS in a patched library rather than evidence of mass exploitation. |
| Exploit ScenarioDerived | An attacker who can supply serialized sketch bytes or a sketch string to an application that deserializes DataSketches input from an untrusted source sends a small crafted payload declaring oversized sizes/counts (or a malformed FrequentLongsSketch string). Deserialization trusts those declared values and either allocates excessive memory until an OutOfMemoryError crashes the service, or enters an indefinite loop during deserialization or a later update, causing denial of service. The upstream fix PR contains concrete crafted-string test cases demonstrating the trigger, but no weaponized exploit is confirmed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 17, 2026
Deserializing a crafted sketch with Apache DataSketches Java through 9.0.0 can exhaust heap memory or trap the deserializer in a non-terminating loop, killing or hanging the hosting JVM with an OutOfMemoryError or an indefinite stall. The exposure is bounded by design: only applications that accept serialized sketches from untrusted sources are affected, while components that exchange sketches between trusted internal peers are not reachable through this flaw. No public exploit code is identified at time of analysis, EPSS is 0.21% (11th percentile), and the vendor has released 9.1.0, which adds the missing bounds validation - prioritize the upgrade this week rather than as an emergency.
Earlier versions of this analysis (1)
Denial of service in Apache DataSketches Java through 9.0.0 allows unauthenticated remote attackers to exhaust memory or hang deserialization when an application processes crafted sketch images or strings from an untrusted source. Several deserializers trust size and count fields in the serialized input, and a crafted string supplied to FrequentLongsSketch.getInstance(String) can loop indefinitely; only applications that deserialize sketches from untrusted sources are exposed. The vendor fixed the issue in 9.1.0, and no public exploit code or active exploitation has been identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade Apache DataSketches Java to 9.1.0 (release tag https://github.com/apache/datasketches-java/releases/tag/9.1.0), which introduces the bounds validation merged in PR #777 and PR #783 - bounds checks on lgCurMapSize against LG_MIN_MAP_SIZE and lgMaxMapSize for MemorySegment input, and equivalent map-length plus numActive-versus-capacity checks for the FrequentLongsSketch.getInstance(String) path. The vendor recommends this upgrade as the fix; there is no separate vendor-documented workaround. Because the vendor states that only applications deserializing sketches from untrusted sources are affected, the practical exposure boundary is whether sketch bytes or strings can enter the application from an untrusted party - reviewing and narrowing those data flows limits reachability but does not repair the library, and it carries the trade-off of removing or restricting functionality that currently accepts externally supplied sketches. Rebuild and redeploy any service with a transitive DataSketches Java dependency on 9.0.0 or earlier, then verify the resolved version in the dependency tree.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-400 uncontrolled resource consumption in the sketch deserialization layer of the Apache DataSketches Java library. Sketch binary layouts carry a preamble that declares parameters such as the maximum map size, the current map size and the number of active entries, and the affected deserializers trusted those declared sizes and counts rather than validating them against the actual input length and against each other. Source evidence from the upstream fix (PR #777) shows what was missing: FrequentLongsSketch.getInstance(MemorySegment) now rejects an lgCurMapSize below LG_MIN_MAP_SIZE or above the declared lgMaxMapSize, and FrequentLongsSketch.getInstance(String) performs the equivalent checks on the parsed map-length token plus a check that numActive lies between zero and the map capacity computed as (1L << lgCur) * ReversePurgeLongHashMap.getLoadFactor(). Before those checks, a small crafted input could drive an allocation sized by attacker-declared counts, and a crafted string could make deserialization or a subsequent update loop indefinitely. The offered CVSS vector is AV:N/AC:L/PR:N/UI:N with availability-only impact (C:N/I:N/A:H); the network vector reflects delivery of the payload to the deserializer, not a listening service, because the untrusted-deserialization precondition is what determines real reachability.
Know when Java 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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Crafted input is remotely supplied with low complexity and no auth; impact is availability-only (OOM or infinite loop), with no confidentiality or integrity effect, matching A:H and C:N/I:N.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Articles & Coverage 2
Executive ViewAI
Apache DataSketches Java through version 9.0.0 has a denial-of-service vulnerability that can crash or hang any JVM deserializing a maliciously crafted sketch. Only applications accepting serialized sketches from untrusted sources are affected, which could disrupt service availability and cause operational downtime. Leadership should prioritize upgrading to 9.1.0 this week to eliminate the risk.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-123401
NVD
CVE.org
EPSS
VulDB
Exploit-DB