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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tdunning | t-digest | 3.1 – ≤ 3.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | t-digest | No fix yet | — |
| Ubuntu 26.04 LTS | t-digest | No fix yet | — |
| Ubuntu 24.04 LTS | t-digest | No fix yet | — |
| Ubuntu 22.04 LTS | t-digest | No fix yet | — |
| Ubuntu 20.04 LTS | t-digest | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | t-digest | No fix yet | — |
| Ubuntu 16.04 LTS | t-digest | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | opensearch-2 | 2.19.7-r3 | — |
References
- GitHub Issue #227 issue-tracking
- MergingDigest.java technical-description
- https://github.com/tdunning/t-digest product
- VulnCheck Advisory: t-digest 3.1 through 3.3 Denial of Service via Unvalidated Length Fields in MergingDigest.fromBytes third-party-advisory