All CVEs / Apache Software Foundation
CVE-2026-103501Apache Software Foundation Apache DataSketches
Heap buffer overflow in HLL sketch deserialization in Apache DataSketches C++
Critical 9.8 No auth needed
Follow: this CVE · Apache Software Foundation · Apache Software Foundation Apache DataSketches We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Oct 10, 2026
- Updated
- Oct 16, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Apache DataSketches C++ is vulnerable to a heap buffer overflow in HLL sketch deserialization in LIST mode. An attacker can send a crafted sketch that causes a write of up to 988 bytes past the buffer boundary, corrupting heap memory and potentially causing a crash or enabling further exploitation. Only affects applications that deserialize sketches from untrusted sources.
Show the original NVD text
Heap buffer overflow in the HLL sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp).
When deserializing a sketch in LIST mode, from either a byte buffer or a stream, the coupon count was read from the input and used as the number of entries to copy into a fixed buffer of 8 entries, without checking it against the buffer's capacity. A crafted sketch could cause a write of up to 988 bytes past the end of this internal heap buffer. This can corrupt heap memory, causing a crash and potentially enabling further exploitation.
This issue affects Apache DataSketches C++: from 1.0.0-incubating before 5.3.0. Only applications that deserialize HLL sketches from untrusted sources are affected.
Users are recommended to upgrade to version 5.3.0, which fixes this issue.
What to do
Patch available · fixed versions: 5.3.0
Upgrade Apache DataSketches C++ to version 5.3.0 or later.
- Apply the vendor's security update for Apache DataSketches.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Apache Software Foundation · Apache DataSketches
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.