CVE-2026-123274: Apache DataSketches C++: Out-of-bounds write in KLL sketch deserialization allows memory corruption via a crafted sketch

Published Nov 13, 2026
·
Updated

Out-of-bounds Write vulnerability in Apache DataSketches C++. An application that deserializes a KLL sketch from an untrusted source can have heap memory corrupted by a crafted sketch, because the serialized level boundaries were not validated.

This issue affects Apache DataSketches C++: 2.0.0 through 5.3.0.

Users are recommended to upgrade to version 5.3.1, which fixes the issue.

Affected Software

1 affected component
Apache DataSketches C++>=2.0.0<=5.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.3.1

Event History

Nov 13, 2026
CVE Published
via MITRE·10:34 AM
Data Sourced
via MITRE·10:34 AM
DescriptionWeakness
Data Sourced
via NVD·11:17 AM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to exploitation?

Applications using Apache DataSketches C++ versions 2.0.0 through 5.3.0 are exposed if they deserialize KLL sketches obtained from an untrusted source. The issue is triggered during KLL sketch deserialization, not merely by using the library.

2

What does an attacker need to exploit this issue?

An attacker needs to supply a crafted serialized KLL sketch that the application deserializes. The crafted sketch uses invalid serialized level boundaries, leading to heap memory corruption.

3

What should teams do if they use an affected version?

Upgrade Apache DataSketches C++ to version 5.3.1, which fixes the validation issue. Until upgrading, avoid deserializing KLL sketches from untrusted sources.

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