Inefficient Algorithmic Complexity Affecting com.tdunning:t-digest package, versions [3.1,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-COMTDUNNING-19659413
  • published10 Sept 2026
  • disclosed9 Sept 2026
  • creditYu Bao

Introduced: 9 Sep 2026

NewCVE-2026-87822  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

There is no fixed version for com.tdunning:t-digest.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity through MergingDigest.fromBytes in core/src/main/java/com/tdunning/math/stats/MergingDigest.java. An attacker can trigger severe processing delays by supplying a crafted serialized digest containing NaN centroid means during deserialization. The invalid centroid values bypass validation and cause merge-related sorting to degrade from O(n log n) to O(n^2), slowing or stalling applications that ingest untrusted t-digest data.

CVSS Base Scores

version 4.0
version 3.1