Skip to content
NewA calmer, faster ZeroHour

CVE-2026-103513: Apache DataSketches: datasketches-cpp: Out-of-bounds read and write in the CPC sketch deserialization allows memory corruption via a crafted sketch

oss-security ()1
Part of a story covered by 4 sourcesFour Apache DataSketches C++ deserialization out-of-bounds flawsMerged summary & timeline
AI summary · grok-4.7Summaries by Vani AI

Apache DataSketches C++ CPC deserialization has an out-of-bounds flaw that can corrupt memory via a crafted sketch.

Apache disclosed CVE-2026-103513, a moderate out-of-bounds read and write in CPC sketch deserialization in datasketches-cpp. Affected versions are Apache DataSketches 2.0.0-incubating through 5.2.0. A crafted serialized CPC sketch passed to cpc_sketch::deserialize() from a byte buffer or stream can make the decompressor read past the end of the compressed data because the read position is not adequately checked, enabling memory corruption. No in-the-wild exploitation is described.

Key facts
  • CVE-2026-103513 affects datasketches-cpp 2.0.0-incubating through 5.2.0.
  • Crafted CPC sketches passed to cpc_sketch::deserialize() cause out-of-bounds reads and writes.
  • The decompressor can read past compressed data because the read position is insufficiently checked.
  • Apache rates the issue moderate; no exploitation is reported.
Analyze CVE-2026-103513 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-103513
Out-of-bounds read/write in DataSketches C++ CPC deserialization
9.8—

From the original article

Posted by Lee Rhodes on Oct 10 Severity: moderate Affected versions: - Apache DataSketches 2. 0. 0-incubating through 5.

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.