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

Published Sep 9, 2026
·
Updated

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.

Affected Software

1 affected component
t-digest t-digest>=3.1<=3.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade t-digest to a version that resolves this vulnerability.

    Fixed in 3.1 through 3.3

Event History

Sep 9, 2026
CVE Published
via MITRE·02:32 PM
Data Sourced
via MITRE·02:32 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required to exploit this issue?

An attacker needs to cause the application to deserialize a crafted serialized t-digest through MergingDigest.fromBytes and later process it in a merge operation. The malicious digest must contain centroid means set to NaN.

2

Which deployments are exposed?

Deployments using t-digest versions 3.1 through 3.3 are exposed if they accept serialized digest data that an attacker can influence or supply. The issue affects deserialization in MergingDigest.fromBytes rather than ordinary digest processing alone.

3

What is the operational impact of a malicious digest?

NaN centroid means bypass validation and can cause sorting performance during merge operations to degrade from O(n log n) to O(n squared). This can create severe processing delays and result in denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203