Description
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.
Published: 2026-09-09
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

t‑digest versions 3.1 through 3.3 contain a flaw in the MergingDigest.fromBytes method, which fails to validate centroid mean values when deserializing. Attackers can inject serialized digests with NaN centroids that bypass validation checks. When the merge operation processes such a digest, the internal sort routine degrades from O(n log n) to O(n²), causing extreme processing delays that can exhaust CPU resources and bring the application to a halt.

Affected Systems

This vulnerability affects installations of the tdunning t-digest library in versions 3.1 through 3.3. The library is widely used in Java applications that compute approximate histograms, quantiles, and streaming statistics, so any application that accepts externally supplied t‑digest data is at risk. The issue is limited to the library’s deserialization logic; there is no known code execution path.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, and although an EPSS score is not available, the risk of exploitation remains significant. The attack requires the ability to supply a maliciously crafted serialized digest; in many scenarios this can be achieved remotely if the application exposes an API or file upload that accepts t‑digest objects. The denial of service is achieved purely through resource exhaustion, without needing authentication, making it a potent vector for distributed or automated attacks. The vulnerability is not currently listed in CISA’s KEV catalog, but the high impact warrants immediate attention.

Generated by OpenCVE AI on September 10, 2026 at 02:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the t‑digest library to the latest stable release where the NaN centroid validation has been added (currently 3.4+).
  • If an upgrade is infeasible, implement explicit validation of centroid mean values during deserialization or reject any payload containing NaN before it is processed.
  • Deploy process or container resource limits; monitor CPU usage during merge operations and trigger a graceful restart or kill the offending process if it exceeds expected thresholds.

Generated by OpenCVE AI on September 10, 2026 at 02:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 10 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Tdunning
Tdunning t-digest
Vendors & Products Tdunning
Tdunning t-digest

Thu, 10 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 10 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-502
References
Metrics threat_severity

None

threat_severity

Important


Wed, 09 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
Description 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.
Title t-digest 3.1 through 3.3 Denial of Service via NaN Centroid Means in MergingDigest.fromBytes
Weaknesses CWE-407
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Tdunning T-digest
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-10T14:57:02.770Z

Reserved: 2026-09-09T10:32:34.110Z

Link: CVE-2026-87822

cve-icon Vulnrichment

Updated: 2026-09-10T14:22:29.918Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-09T15:17:27.427

Modified: 2026-09-10T15:17:54.100

Link: CVE-2026-87822

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-09T14:32:42Z

Links: CVE-2026-87822 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-10T20:10:27Z

Weaknesses
  • CWE-407

    Inefficient Algorithmic Complexity

  • CWE-502

    Deserialization of Untrusted Data