All reports
High

com.tdunning/t-digest: t-digest: t-digest: Denial of Service via unvalidated length fields

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-87962

Probability of exploitation in the next 30 days: 0.63%

FIRST EPSS · 2026-11-22

Description

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.

A flaw was found in t-digest. A remote attacker could exploit a denial of service vulnerability in the MergingDigest.fromBytes function by providing specially crafted serialized data. This data, with unvalidated length and capacity fields, can cause the parsing thread to abort due to an ArrayIndexOutOfBoundsException or NegativeArraySizeException, leading to a denial of service.