Improper Validation of Specified Quantity in Input 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.43% (36th 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-19778375
  • published14 Sept 2026
  • disclosed10 Sept 2026
  • creditYu Bao

Introduced: 10 Sep 2026

NewCVE-2026-87962  (opens in a new tab)
CWE-1284  (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 Improper Validation of Specified Quantity in Input due to unvalidated length and capacity fields in MergingDigest.fromBytes in core/src/main/java/com/tdunning/math/stats/MergingDigest.java. An attacker can abort the parsing thread by supplying crafted serialized digests with mismatched header values that trigger ArrayIndexOutOfBoundsException or NegativeArraySizeException. When an application deserializes untrusted digest data with an affected t-digest, the malformed input causes the reader to fail before completing the parse. This can disrupt services that accept or exchange serialized digests, leaving requests unprocessed and the component handling the data unavailable.

CVSS Base Scores

version 4.0
version 3.1