CVE-2026-87822t-digest 3.1 through 3.3 Denial of Service via NaN Centroid Means in…
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | t-digest | Fix pending | UBUNTU-CVE-2026-87822 | |
| Ubuntu 26.04 | t-digest | Under investigation | UBUNTU-CVE-2026-87822 | |
| Ubuntu 24.04 | t-digest | Under investigation | UBUNTU-CVE-2026-87822 | |
| Ubuntu 22.04 | t-digest | Under investigation | UBUNTU-CVE-2026-87822 | |
| Ubuntu 20.04 | t-digest | Fix pending | UBUNTU-CVE-2026-87822 | |
| Ubuntu 18.04 | t-digest | Fix pending | UBUNTU-CVE-2026-87822 | |
| Ubuntu 16.04 | t-digest | Fix pending | UBUNTU-CVE-2026-87822 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- tdunning t-digest: affected: 3.1 to 3.3
References
- https://github.com/tdunning/t-digest/issues/229
- https://github.com/tdunning/t-digest/blob/8d5c1523c3d46925e9b3979a8d63c0b9d004ed1c/core/src/main/java/com/tdunning/math/stats/MergingDigest.java
- https://github.com/tdunning/t-digest/blob/8d5c1523c3d46925e9b3979a8d63c0b9d004ed1c/core/src/main/java/com/tdunning/math/stats/Sort.java
- https://github.com/tdunning/t-digest
- https://www.vulncheck.com/advisories/t-digest-3.1-through-3.3-denial-of-service-via-nan-centroid-means-in-mergingdigest-frombytes
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.