Skip to content

Apache DataSketches C++

Apache DataSketches: datasketches-cpp: Out-of-bounds read in compact Theta sketch deserialization allows denial of service via a crafted sketch

CVE-2026-103635Published 10 Oct 2026, 10:23 UTC

Real-world risk

6.8/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.1

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 in the compact Theta sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp). compact_theta_sketch::deserialize() and wrapped_compact_theta_sketch::wrap() read header fields before checking that the input was long enough. For the compressed format, the size check could be defeated by a 32-bit overflow, and two header fields that control decoding were not validated; this also affected deserialization from a stream. A crafted or truncated sketch could cause a read past the end of the input. In the compressed case the over-read can be large, and the bytes read can become part of the deserialized sketch. This can cause a crash (denial of service) and could expose adjacent memory contents. This issue affects Apache DataSketches C++: from 3.1.0 before 5.3.0. Only applications that deserialize Theta 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>= 3.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×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
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.4% chance of exploitation in 30 days (percentile 36), as of 2026-12-05.

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

How the score works

Exploitation and evidence timeline

  1. 10 Oct 2026 Published
  2. 3 Dec 2026 Risk 6.8 (cvss fallback)

Weakness

CWE-125, CWE-190

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.