# CVE-2026-87822: t-digest 3.1 through 3.3 Denial of Service via NaN Centroid Means in MergingDigest.fromBytes

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-09-09T14:32:42.726Z
- Modified: 2026-09-10T15:17:54.100Z
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- tdunning t-digest: from 3.1 up to 3.3

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/tdunning/t-digest/issues/229> (issue-tracking)
- <https://github.com/tdunning/t-digest/blob/8d5c1523c3d46925e9b3979a8d63c0b9d004ed1c/core/src/main/java/com/tdunning/math/stats/MergingDigest.java> (technical-description)
- <https://github.com/tdunning/t-digest/blob/8d5c1523c3d46925e9b3979a8d63c0b9d004ed1c/core/src/main/java/com/tdunning/math/stats/Sort.java> (technical-description)
- <https://github.com/tdunning/t-digest> (product)
- <https://www.vulncheck.com/advisories/t-digest-3.1-through-3.3-denial-of-service-via-nan-centroid-means-in-mergingdigest-frombytes> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-87822](https://www.cve.org/CVERecord?id=CVE-2026-87822), CVE Terms of Use, modified 2026-09-10
- NVD: [CVE-2026-87822](https://nvd.nist.gov/vuln/detail/CVE-2026-87822), Public domain, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-87822 · Whole record: https://cve.day/CVE-2026-87822.json · Rebuilt by cve.day 2026-11-25T22:59:37.759Z
