Skip to main content

t-digest EUVDEUVD-2026-75020

| CVE-2026-87822 HIGH
Inefficient Algorithmic Complexity (CWE-407)
2026-09-09 VulnCheck GHSA-32f6-mgwr-pvc4
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Identify network-accessible t-digest deserialization endpoint
  2. Delivery
    craft MergingDigest binary payload with NaN centroid means
  3. Exploit
    submit payload via API or file upload
  4. Install
    MergingDigest.fromBytes() skips NaN validation
  5. C2
    NaN corrupts centroid sort-order invariant
  6. Execute
    Sort.mergingDigest() degrades to O(n²)
  7. Impact
    CPU exhaustion causes application-level DoS

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
Exploitation Conditions

The target application must call MergingDigest.fromBytes() on byte data that is fully or partially controlled by an untrusted party - this requires either a network endpoint accepting raw t-digest byte streams, a file-upload or message-queue path that processes t-digest-formatted payloads, or an inter-service channel where attacker-injected data reaches the deserializer. t-digest versions 3.1 through 3.3 must be on the classpath. The CVSS PR:N/AC:L scenario applies only when the deserialization entry point requires no authentication; deployments behind authentication, payload signing, or size restrictions materially limit exploitability. Applications that only ever serialize internally generated digests and never deserialize externally provided byte streams are not exposed to this vulnerability.

Impact

The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VA:H) represents worst-case exposure assuming a network-accessible, unauthenticated deserialization endpoint. EPSS data is absent from available input. No CISA KEV listing and no confirmed public exploit code exist, placing real-world exploitation probability below the raw score suggests, but the attack primitive is simple - NaN injection requires no memory corruption expertise. The primary risk gate is deployment context: applications that never accept externally sourced t-digest byte streams are not exposed regardless of library version; even a mid-sized analytics team in sanok running a data pipeline that deserializes t-digest payloads from an authenticated internal service faces substantially lower risk than a public-facing API accepting raw digest blobs. CVSS AC:L and PR:N assume the most permissive deployment; configurations behind authentication or with input size limits significantly constrain exploitability, and the O(n²) degradation requires a payload large enough to produce meaningful CPU saturation.

Exploit ScenarioDerived

An attacker identifies a network API endpoint that accepts raw t-digest binary payloads and internally calls MergingDigest.fromBytes() on the submitted data. The attacker crafts a large serialized digest in which centroid means are set to NaN, then submits it repeatedly or with sufficient centroid count to trigger O(n²) sort behavior. Each request consumes disproportionate server CPU during the merge phase, exhausting processing capacity and causing legitimate requests to timeout or queue indefinitely.

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 09, 2026

Deserialization in t-digest 3.1 through 3.3 allows remote attackers to inject IEEE 754 NaN values as centroid means via crafted byte streams passed to MergingDigest.fromBytes(), bypassing absent validation checks. The injected NaN values corrupt the internal total-ordering invariant of the centroid list, causing sort comparisons to return inconsistent results and degrading subsequent merge operations from O(n log n) to O(n²) algorithmic complexity. The result is severe CPU exhaustion and service delays for any application that deserializes attacker-controlled t-digest payloads; no public exploit code or CISA KEV listing exists at time of analysis.

RemediationAI

A fix has been committed to the t-digest main branch at commit 8d5c1523c3d46925e9b3979a8d63c0b9d004ed1c, patching both MergingDigest.java and Sort.java; however, a specific patched release version number is not confirmed from available input data, and users should check the GitHub releases page (https://github.com/tdunning/t-digest) for a tagged release beyond 3.3 or build from the fixed commit directly. As an immediate compensating control, applications should validate that all centroid mean values in externally sourced byte streams are finite using Double.isFinite() before invoking MergingDigest.fromBytes(), rejecting payloads containing NaN or Infinite values. Where feasible, restrict deserialization of t-digest byte streams to cryptographically signed or internally generated payloads, eliminating untrusted input as an attack surface entirely. Gating the deserialization path behind authentication or applying request rate limiting reduces the impact of repeated O(n²) payload submissions. Refer to GitHub issue #229 (https://github.com/tdunning/t-digest/issues/229) for additional remediation context.

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 (CPE: cpe:2.3:a:tdunning:t-digest) is an open-source Java streaming-quantile estimation library authored by Ted Dunning (GitHub: tdunning/t-digest). It maintains a compressed set of weighted centroids sorted by mean value, enabling approximate percentile computation over large data streams. The MergingDigest implementation exposes a static fromBytes() factory method that reconstructs a live digest object from a compact binary encoding. CWE-407 (Inefficient Algorithmic Complexity) identifies the root cause: the deserializer performs no IEEE 754 validity check on incoming centroid mean values. Because Java's Double.compare() produces undefined behavior when either operand is NaN - violating the reflexive, transitive, and total-order contract that sort partitioning depends on - injection of a single NaN centroid is sufficient to collapse Sort.mergingDigest() into worst-case O(n²) execution. The vulnerability surfaces in core/src/main/java/com/tdunning/math/stats/MergingDigest.java and the associated Sort.java comparator, as identified in GitHub issue #229 and fixed in commit 8d5c1523c3d46925e9b3979a8d63c0b9d004ed1c.

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 deserialization with no authentication in worst-case deployment; exclusively availability impact via O(n²) CPU exhaustion with no confidentiality or integrity breach.

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 fail to validate centroid means during deserialization in MergingDigest.fromBytes, allowing attackers to inject NaN values that bypass validation checks. Attackers can craft malicious serialized digests containing NaN centroids that degrade sorting performance from O(n log n) to O(n squared), causing severe processing delays during merge operations.

Executive ViewAI

Why It Matters

t-digest, a library used for streaming data analytics and percentile calculations, versions 3.1-3.3 has a vulnerability allowing remote attackers to crash or hang services by sending malicious data payloads. The vulnerability degrades computational efficiency, consuming all CPU resources and rendering dependent applications unresponsive. Organizations relying on t-digest for real-time analytics, reporting dashboards, or distributed monitoring systems should prioritize immediate mitigation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: (1) Disable deserialization of t-digest data from untrusted or external sources entirely; (2) Implement pre-deserialization validation to detect and reject payloads with NaN values in centroid means; (3) Enforce strict timeout controls on merge operations (suggest 5-second maximum); (4) Deploy rate limiting on deserialization request endpoints; (5) Use network segmentation to restrict access to t-digest processing services to authorized internal systems only; (6) Monitor merge operation duration and CPU utilization for unexplained increases.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
specialized quantile-estimation library embedded in analytics and data processing platforms
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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

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.

Vendor StatusVendor

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