Out-of-bounds Vulnerability in Apache DataSketches C++
Key Information:
- Vendor
Apache
- Status
- CVE ID
- CVE ID:
- CVE-2026-103513
- Vendor
- CVE Published:
- 10 October 2026
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Apache Datasketches. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Patch this week"
- It can be exploited remotely without credentials.
- Its CVSS severity is critical (9.8).
What is CVE-2026-103513?
An out-of-bounds read and write vulnerability exists in the deserialization process of the CPC sketch within Apache DataSketches C++. This issue arises when a crafted serialized CPC sketch is passed to the cpc_sketch::deserialize() function, either from a byte buffer or a stream. The vulnerability permits the decompressor to read beyond the available compressed data, as the read position validation occurs only after the decoding process. Additionally, in hybrid mode, it can enable writes outside of an internal heap buffer due to insufficient validation of decoded row indices. Key header fields and decoded values, including lg_k, lack proper validation, which could lead to heap memory corruption, causing application crashes and potential security breaches. Users are advised to upgrade to version 5.3.0, which addresses this vulnerability.
Affected Version(s)
Apache DataSketches 2.0.0-incubating <= 5.2.0
References
More Apache Vulnerabilities
Key Exchange Vulnerability in Apache Tomcat
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction