CVE-2026-103636: Apache DataSketches C++ - Out-of-Bounds Read
- Cve: CVE-2026-103636
- Name: Apache DataSketches C++ - Out-of-Bounds Read
- Description: Out-of-bounds read in the VarOpt union deserialization of Apache DataSketches C++ (repo: datasketches-cpp). var_opt_union::deserialize() read the 32-byte preamble of a non-empty union after checking that only 8 bytes were available, so a truncated serialized union could cause a read of up to 24 bytes past the end of the input. For such inputs, the size remaining for the embedded sketch was also computed by an unsigned subtraction that could wrap around, so the embedded sketch's own size checks no longer limited reads to the input. The bytes read can become part of the deserialized union's state. This can cause a crash (denial of service) and could expose adjacent memory contents. This issue affects Apache DataSketches C++: from 2.0.0-incubating before 5.3.0. Only applications that deserialize VarOpt unions from untrusted sources are affected. Users are recommended to upgrade to version 5.3.0, which fixes this issue.
- Impact: Attackers can cause crashes and potentially expose adjacent memory, leading to denial of service and information disclosure.
- Remediation: Upgrade to version 5.3.0 or later.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.0038
- Epss percentile: 0.32419
- Assignee: [email protected]
- Published at: 2026-10-10T11:17:36Z
- Age in days: 45
- Modified at: 2026-10-16T16:16:53Z
- References total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-103636
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
References
Same in every row:
- Source: nvd
- Tags:
| Url |
|---|
| https://github.com/apache/datasketches-cpp/releases/tag/5.3.0 |
| https://lists.apache.org/thread/znn94s463w7wy125khcywxsp82y2qkq5 |
| http://www.openwall.com/lists/oss-security/2026/10/10/6 |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/datasketches-cpp | releases | yes | /v1/repositories/apache/datasketches-cpp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts