Skip to content

Apache DataSketches C++

Apache DataSketches: datasketches-cpp: Out-of-bounds read and write in Count-Min sketch deserialization allows memory corruption via a crafted sketch

CVE-2026-103634Published 22 Oct 2026, 06:42 UTC

Real-world risk

2.6/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.3

scored by CISA, CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from apache)

Out-of-bounds read and write in the Count-Min sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp). count_min_sketch::deserialize() did not include the preamble in its input size check, so a truncated sketch could cause a read of up to 16 bytes past the end of the input. In addition, the table size was computed from the serialized number of buckets and number of hash functions in 32-bit arithmetic. A crafted sketch could make it wrap to zero, so that the sketch deserialized with an empty table, and later updates and estimate queries read and wrote outside the heap allocation. This can corrupt heap memory, causing a crash and potentially enabling further exploitation. This issue affects Apache DataSketches C++: from 4.1.0 before 5.3.0. Only applications that deserialize Count-Min sketches from untrusted sources are affected. Users are recommended to upgrade to version 5.3.0, which fixes this issue.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Apache DataSketches C++Niche>= 4.1.0, <= 5.2.0—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.5% chance of exploitation in 30 days (percentile 43), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.3 × prerequisites 1 × threat 0.852.550
  4. Rounded to one decimal between 0.1 and 102.6

How the score works

Exploitation and evidence timeline

  1. 22 Oct 2026 Published
  2. 3 Dec 2026 Risk 2.6 (cvss fallback)

Weakness

CWE-190, CWE-787

References

Get alerts for Apache DataSketches C++

Free email or text alerts when a vulnerability in Apache DataSketches C++ reaches risk 8 or higher. Nothing else.