CVE-2026-103635: Out-of-bounds read in the compact Theta sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp)
This Apache advisory covers CVE-2026-103635 in Apache DataSketches.
- CVE-2026-103635
Am I affected by CVE-2026-103635?
You are affected if you run Apache DataSketches at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| 3.1.0 before 5.3.0 | 5.3.0 |
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- Critical, CVSS 9.1
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H· base score 9.1, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: none. Availability impact: high.- Weakness
- CWE-125 Out-of-bounds read
- CWE-190 Integer overflow or wraparound
- EPSS
- 0.39% chance of exploitation in the next 30 days (34th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
Description
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.
Text from the source record.
How to fix CVE-2026-103635
Upgrade to the first fixed release for your version, shown in the table above.
Vendor guidance
- Users are recommended to upgrade to version 5.3.0, which fixes this issue.
CVE-2026-103635 questions
Is CVE-2026-103635 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Apache advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2026-103635?
You are affected if you run Apache DataSketches at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.
How do I fix CVE-2026-103635?
Upgrade to a fixed release Apache lists for your version: 5.3.0. The advisory's own guidance is above.
How likely is CVE-2026-103635 to be exploited?
FIRST's EPSS model gives it a 0.39% chance of exploitation in the next 30 days (34th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.
How serious is CVE-2026-103635?
Apache rates it critical, CVSS 9.1 out of 10.
More Apache Software Foundation advisories
CVE-2026-123274Nov 13, 2026Out-of-bounds Write vulnerability in Apache DataSketches C++CVE-2026-123338Nov 13, 2026Out-of-bounds Write vulnerability in Apache DataSketches C++CVE-2026-103636Oct 10, 2026Out-of-bounds read in the VarOpt union deserialization of Apache DataSketches C++CVE-2026-103513Oct 10, 2026Out-of-bounds read and write in the CPC sketch deserialization of Apache DataSketches C++CVE-2026-103501Oct 10, 2026Heap buffer overflow in the HLL sketch deserialization of Apache DataSketches C++CVE-2026-124324Nov 24, 2026vulnerability in Apache Jena Fuseki
Apache Software Foundation advisories, October 2026All Apache Software Foundation advisories
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.