Skip to content
VulniPulse
Critical9.8Apache Software Foundation

CVE-2026-103513: Out-of-bounds read and write in the CPC sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp)

This Apache advisory covers CVE-2026-103513 in Apache DataSketches.

Open the Apache advisory

Am I affected by CVE-2026-103513?

You are affected if you run Apache DataSketches at one of the versions below. If you do, upgrade to the fixed release listed for your version.

AffectedFixed in
2.0.0-incubating before 5.3.05.3.0

Official advisory · high-confidence parse· fetched ·verify at source

Key facts

Vendor rating
Critical, CVSS 9.8
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · base score 9.8, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.
Weakness
  • CWE-787 Out-of-bounds write
  • CWE-125 Out-of-bounds read
EPSS
0.39% chance of exploitation in the next 30 days (34th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: yes. Technical impact: total. CISA, .
CISA KEV
Not listed (catalogue checked )
Source published
Source revised
Listed by VulniPulse
Record changed

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Apache Software FoundationApache DataSketches

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.

Text from the source record.

How to fix CVE-2026-103513

Upgrade to the first fixed release for your version, shown in the table above.

Vendor guidance

  • Users are recommended to upgrade to version 5.3.0, which fixes this issue.

CVE-2026-103513 questions

Is CVE-2026-103513 being exploited?

CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Apache advisory does not report exploitation. That is not proof it is unexploited.

Am I affected by CVE-2026-103513?

You are affected if you run Apache DataSketches at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.

How do I fix CVE-2026-103513?

Upgrade to a fixed release Apache lists for your version: 5.3.0. The advisory's own guidance is above.

How likely is CVE-2026-103513 to be exploited?

FIRST's EPSS model gives it a 0.39% chance of exploitation in the next 30 days (34th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.

How serious is CVE-2026-103513?

Apache rates it critical, CVSS 9.8 out of 10.

Apache Software Foundation advisories, October 2026All Apache Software Foundation advisories

Get an email when Apache publishes the next one.

See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.

Alert me about Apache