All CVEs / Apache Software Foundation
CVE-2026-103635Apache Software Foundation Apache DataSketches
Out-of-bounds read in Theta sketch deserialization in Apache DataSketches C++
Critical 9.1 No auth needed
Follow: this CVE · Apache Software Foundation · Apache Software Foundation Apache DataSketches We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Oct 10, 2026
- Updated
- Oct 16, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
What happens
Apache DataSketches C++ versions 3.1.0 through 5.2.x contain an out-of-bounds read vulnerability in compact Theta sketch deserialization. An attacker can send a crafted or truncated sketch from an untrusted source to cause reads past the end of input, resulting in denial of service or exposure of adjacent memory contents.
Show the original NVD text
Out-of-bounds read in the compact Theta sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp).
compact_theta_sketch::deserialize() and wrapped_compact_theta_sketch::wrap() read header fields before checking that the input was long enough. For the compressed format, the size check could be defeated by a 32-bit overflow, and two header fields that control decoding were not validated; this also affected deserialization from a stream. A crafted or truncated sketch could cause a read past the end of the input. In the compressed case the over-read can be large, and the bytes read can become part of the deserialized sketch. This can cause a crash (denial of service) and could expose adjacent memory contents.
This issue affects Apache DataSketches C++: from 3.1.0 before 5.3.0. Only applications that deserialize Theta 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. This vulnerability only affects applications that deserialize Theta sketches from untrusted sources.
- 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.