CVE-2026-103501: Heap buffer overflow in the HLL sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp)
This Apache advisory covers CVE-2026-103501 in Apache DataSketches.
- CVE-2026-103501
Am I affected by CVE-2026-103501?
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 |
|---|---|
| 1.0.0-incubating before 5.3.0 | 5.3.0 |
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- Critical, CVSS 9.8
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H· base score 9.8, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-122 Heap-based buffer overflow
- CWE-1284 Improper validation of specified quantity in input
- EPSS
- 0.56% chance of exploitation in the next 30 days (47th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: yes. Technical impact: total. 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
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.
Text from the source record.
How to fix CVE-2026-103501
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-103501 questions
Is CVE-2026-103501 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-103501?
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-103501?
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-103501 to be exploited?
FIRST's EPSS model gives it a 0.56% chance of exploitation in the next 30 days (47th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.
How serious is CVE-2026-103501?
Apache rates it critical, CVSS 9.8 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-103635Oct 10, 2026Out-of-bounds read in the compact Theta sketch 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-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.