CVE-2026-123338: Apache DataSketches C++: Out-of-bounds write in REQ 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 REQ sketch from an untrusted source can have heap memory corrupted by a crafted sketch, because the serialized compactor headers were not validated.

This issue affects Apache DataSketches C++: from 3.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++>=3.0.0<=5.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache DataSketches C++ to a version that resolves this vulnerability.

    Fixed in 5.3.1

Event History

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

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Applications using Apache DataSketches C++ versions 3.0.0 through 5.3.0 are affected if they deserialize REQ sketches obtained from an untrusted source.

2

What does an attacker need to exploit the vulnerability?

An attacker needs to supply a crafted serialized REQ sketch that the application deserializes. The malformed compactor headers can then trigger an out-of-bounds write and corrupt heap memory.

3

What should be done to remediate the issue?

Upgrade Apache DataSketches C++ to version 5.3.1, which fixes the missing validation of serialized compactor headers.

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