← Back to search

CVE-2026-103513

9.8 CRITICALpublic exploit available

Published 2026-10-10 · Updated 2026-10-16

AI risk analysis

Summary
A critical out-of-bounds read and write vulnerability exists in Apache DataSketches C++'s CPC sketch deserialization function, which can lead to heap corruption and potential remote code execution when processing untrusted serialized data.
Exploitability
Exploitation is likely straightforward as it requires only passing a crafted serialized CPC sketch to the deserialize function, with no authentication or user interaction needed.
Blast radius
The vulnerability affects applications that deserialize CPC sketches from untrusted sources, potentially impacting analytics, data processing, and machine learning systems that use this library.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to version 5.3.0 which fixes this issue.
memory-corruptiondeserializationcve-2026heap-buffer-overflowdata-sketches

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

Out-of-bounds read and write in the CPC sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp). A crafted serialized CPC sketch passed to cpc_sketch::deserialize(), from either a byte buffer or a stream, can cause the decompressor to read past the end of the compressed data, because the read position was only checked after decoding finished. In the hybrid flavor, it can also cause a write outside an internal heap buffer, because decoded row indices were not validated. Several other header fields and decoded values, including lg_k, were also not validated. This can corrupt heap memory, causing a crash and potentially enabling further exploitation. This issue affects Apache DataSketches C++: from 2.0.0-incubating before 5.3.0. Only applications that deserialize CPC sketches from untrusted sources are affected. Users are recommended to upgrade to version 5.3.0, which fixes this issue.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-125, CWE-787

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.