Skip to main content

Apache DataSketches Java CVE-2026-122096

| EUVDEUVD-2026-123401 HIGH
Uncontrolled Resource Consumption (CWE-400)
7.5
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Reach endpoint deserializing untrusted sketch
  2. Delivery
    Submit small crafted sketch payload
  3. Exploit
    Deserializer trusts declared sizes/counts
  4. Execution
    Allocate excessive memory or loop indefinitely
  5. Persist
    OutOfMemoryError or hang
  6. Impact
    Service 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.

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

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

Alert me

AnalysisAIv2 – 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)
v1 Nov 10, 2026 - 23:42

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

Apache DataSketches Java 0 ≤9.0.0

Affected Packages

euvd apache_datasketches_java no fix

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

Vendor (CNA) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

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

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
Analysis Updated
Nov 17, 2026 - 16:31 vuln.today
v2 - CVSS changed
CVSS changed
Nov 17, 2026 - 16:22 NVD
7.5 (HIGH)
CVE Published
Nov 10, 2026 - 20:33 oss-security
HIGH

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
specialized data-analytics sketching library, limited direct production footprint
Data Quality
6 sources
Confidence: High

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.2%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

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

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.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

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