Skip to content
VulniPulse
High7.5Apache Software Foundation

CVE-2026-103636: Out-of-bounds read in the VarOpt union deserialization of Apache DataSketches C++ (repo: datasketches-cpp)

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

Open the Apache advisory

Am I affected by CVE-2026-103636?

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
High, CVSS 7.5
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · base score 7.5, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: none. Integrity impact: none. Availability impact: high.
Weakness
  • CWE-125 Out-of-bounds read
  • CWE-191 Integer underflow (wrap or wraparound)
EPSS
0.38% chance of exploitation in the next 30 days (32nd percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: yes. Technical impact: partial. 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 in the VarOpt union deserialization of Apache DataSketches C++ (repo: datasketches-cpp).

var_opt_union::deserialize() read the 32-byte preamble of a non-empty union after checking that only 8 bytes were available, so a truncated serialized union could cause a read of up to 24 bytes past the end of the input.

For such inputs, the size remaining for the embedded sketch was also computed by an unsigned subtraction that could wrap around, so the embedded sketch's own size checks no longer limited reads to the input. The bytes read can become part of the deserialized union's state.

This can cause a crash (denial of service) and could expose adjacent memory contents.

This issue affects Apache DataSketches C++: from 2.0.0-incubating before 5.3.0. Only applications that deserialize VarOpt unions 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-103636

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-103636 questions

Is CVE-2026-103636 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-103636?

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-103636?

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-103636 to be exploited?

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

How serious is CVE-2026-103636?

Apache rates it high, CVSS 7.5 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