Skip to main content

t-digest CVE-2026-87962

| EUVDEUVD-2026-75387 HIGH
Improper Validation of Specified Quantity in Input (CWE-1284)
2026-09-10 VulnCheck GHSA-p7mw-7cfx-cr67
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Identify service accepting serialized t-digest input
  2. Delivery
    Craft MergingDigest payload with invalid negative/mismatched length or capacity header fields
  3. Exploit
    Submit payload over network to fromBytes entry point
  4. Execution
    Library allocates or indexes arrays using attacker-controlled values
  5. Persist
    JVM throws ArrayIndexOutOfBoundsException or NegativeArraySizeException
  6. Impact
    Parsing thread aborted, service availability disrupted

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Input size validation
Exploitation Conditions

The target application must call MergingDigest.fromBytes on data controlled by the attacker - for example, a service that accepts serialized t-digest payloads from external clients over a network API (distributed quantile aggregation endpoints, stream-processing systems that merge remote digests, or RPC interfaces transferring t-digest state). t-digest versions 3.1-3.3 must be the version in use. No authentication or special library configuration is required on the t-digest side; the vulnerability exists in all invocations of fromBytes on affected versions. Exploitation is limited to deployments where the serialized data pathway is reachable by untrusted parties - services that deserialize t-digest state exclusively from trusted internal producers are not meaningfully exposed.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 8.7, reflecting a mechanically straightforward unauthenticated network-reachable denial-of-service path with no special library-side preconditions. Real-world risk is deployment-dependent: only services that pass attacker-controlled bytes directly to MergingDigest.fromBytes are exploitable, so exposure varies considerably by integration pattern. No KEV listing and no EPSS score are available, and no public exploit code has been identified at time of analysis - signals that this has not seen opportunistic mass exploitation. The practical risk is moderate for most operators: the attack requires that the attacker control the serialized digest payload, which presupposes either a publicly exposed deserialization endpoint or a compromised upstream data source. Deployments that exchange t-digest state only between trusted internal components are not meaningfully exposed. The absence of active exploitation evidence means emergency out-of-band response is unlikely warranted for most, but any internet-facing service accepting serialized digest payloads should prioritize patching.

Exploit ScenarioDerived

An attacker sends a crafted HTTP request to an analytics API endpoint that accepts serialized MergingDigest state for distributed quantile merging. The payload encodes a MergingDigest header with a capacity field of -1 and a length field of Integer.MAX_VALUE; when MergingDigest.fromBytes processes the payload, it attempts to allocate a negative-size array, throwing NegativeArraySizeException that aborts the request-processing thread and denies service to concurrent users. No public proof-of-concept has been identified, but the attack requires only knowledge of the t-digest binary serialization format, which is fully documented in the open-source codebase.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 10, 2026

Unvalidated deserialization input in t-digest 3.1-3.3 exposes any service calling MergingDigest.fromBytes on attacker-controlled data to denial of service - the method reads length and capacity fields from the serialized header and uses them directly to allocate and index arrays without bounds checking, triggering ArrayIndexOutOfBoundsException or NegativeArraySizeException and aborting the parsing thread. Any analytics pipeline or API endpoint that accepts serialized t-digest state from external callers is vulnerable to remote, unauthenticated thread termination. No public exploit code has been identified at time of analysis, and this CVE is not in the CISA KEV catalog.

RemediationAI

No vendor-released patched version is explicitly identified in any available reference; patch status must be verified directly against the upstream repository at https://github.com/tdunning/t-digest and tracked via GitHub issue #227 (https://github.com/tdunning/t-digest/issues/227). Until a confirmed fixed release is available, operators should restrict which callers can supply serialized t-digest data, ensuring only trusted, validated internal sources invoke MergingDigest.fromBytes. As a compensating control, wrapping fromBytes calls in a try-catch for RuntimeException will prevent thread termination and preserve service availability, though this does not fix the underlying validation gap and may obscure other deserialization anomalies. Input length pre-validation at the application boundary - rejecting payloads whose header-declared sizes exceed the actual buffer length - provides a more targeted defense. Monitor the upstream GitHub repository release tags for a patched version and update as soon as one is confirmed.

Affected VersionsENISA

t-digest 3.1 ≤3.3

Affected Packages

euvd t_digest 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

t-digest (tdunning/t-digest) is an open-source Java library implementing a streaming data structure for computing approximate quantiles and percentile statistics, embedded in some analytics frameworks and distributed metrics systems. The affected component is MergingDigest.fromBytes, the binary deserialization entry point for the MergingDigest variant. CWE-1284 (Improper Validation of Specified Quantity in Input) is the root cause: the deserializer reads 'length' and 'capacity' integer fields directly from the serialized byte header and uses them to allocate and access arrays without verifying that the values are non-negative, mutually consistent, or within the bounds of the remaining buffer. An attacker who controls the serialized payload can craft a header where these fields are mismatched or negative, causing the JVM to throw ArrayIndexOutOfBoundsException or NegativeArraySizeException and abort the calling thread. The affected CPE is cpe:2.3:a:tdunning:t-digest:*:*:*:*:*:*:*:* for versions 3.1 through 3.3, with the vulnerable code path visible in the referenced MergingDigest.java source at the commit cited in the GitHub reference.

Know when T Digest 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 unauthenticated DoS requiring no complexity beyond controlling the serialized payload; availability-only impact, no scope change or confidentiality/integrity effect.

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
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

t-digest versions 3.1 through 3.3 contain a denial of service vulnerability in MergingDigest.fromBytes that fails to validate length and capacity fields from serialized data. Attackers can supply crafted serialized digests with mismatched header fields to trigger ArrayIndexOutOfBoundsException or NegativeArraySizeException, aborting the parsing thread.

Executive ViewAI

Why It Matters

t-digest library versions 3.1-3.3 contain an unvalidated deserialization flaw in MergingDigest.fromBytes that allows remote attackers to crash analytics pipelines and APIs by submitting malformed serialized digest objects. Any organization using t-digest to accept external quantile/percentile calculations faces thread termination and service availability risk.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or restrict MergingDigest.fromBytes deserialization of any externally-sourced digest data-generate digests internally only; (2) If external deserialization is mandatory, implement strict bounds checking on serialized header fields (length, capacity) before instantiation to prevent array allocation failures; (3) Deploy thread pool monitoring and auto-recovery to detect and restart crashed parsing threads; (4) Apply network-layer access controls to restrict API endpoints accepting serialized digests to trusted internal callers only.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
niche Java analytics library, limited direct enterprise deployment
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor 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.4%
Patch available No
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
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
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

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