Skip to main content

Apache DataSketches C++ EUVDEUVD-2026-125274

| CVE-2026-123338 HIGH
Out-of-bounds Write (CWE-787)
7.4
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted REQ sketch from untrusted source
  2. Exploit
    Application deserializes without validating compactor headers
  3. Execution
    Out-of-bounds write corrupts heap memory
  4. Impact
    Memory corruption enabling crash or potential code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that an application built on Apache DataSketches C++ (3.0.0-5.3.0) deserialize a REQ sketch obtained from an untrusted source; the crafted sketch carries malformed serialized compactor headers which the library fails to validate, triggering the out-of-bounds heap write. What LIMITS exploitation: applications that only deserialize trusted or internally-generated sketches are not exposed; the attack vector depends on how the host application ingests sketches (file, IPC, or network), which the sources do not specify; and the issue is fixed in 5.3.1, so updating removes the exposure. The precise trigger within the compactor-header parsing is described only as missing validation and is not detailed further in the available sources.

Impact

Signals are sparse and partly conflicting. No CVSS vector, EPSS score, KEV entry, or PoC is present in the input, and the vuln.today Decision label is 'awaiting_data' - so no quantitative exploitation-probability signal exists yet. The vendor (Apache) rates this 'moderate', whereas the technical primitive (an out-of-bounds heap write reachable through deserialization of attacker-controlled data) is the classic shape of a high-severity memory-corruption bug that, in the worst case, enables code execution. The reason these diverge is the exploitation gate: the flaw is only reachable when an application deserializes a REQ sketch obtained from an UNTRUSTED source. Many DataSketches C++ deployments process sketches generated internally or exchanged between trusted systems, which sharply narrows real-world exposure and is likely why the vendor severity is moderate rather than critical. Whether the attack vector is network or local cannot be confirmed from the data - it depends entirely on how the embedding application ingests sketches (file, IPC, or network), so the AV in my own assessment is an inference, not a vendor-confirmed value. Bottom line: this is a credible memory-safety issue worth prioritizing for anyone who deserializes externally-sourced sketches, but there is currently no evidence of active exploitation or public exploit code, so it does not presently warrant emergency handling.

Exploit ScenarioDerived

An application using Apache DataSketches C++ (3.0.0-5.3.0) accepts a serialized REQ sketch from an external or untrusted party and deserializes it. The attacker supplies a crafted sketch whose compactor headers are malformed; because those headers are not validated, deserialization performs an out-of-bounds write that corrupts heap memory, potentially leading to a crash or code execution. No public exploit code was identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Deserializing a crafted REQ sketch with Apache DataSketches C++ 3.0.0 through 5.3.0 allows an unauthenticated remote attacker to write out of bounds on the heap and corrupt memory. The library fails to validate the serialized compactor headers of an incoming sketch, so an application that accepts a sketch from an untrusted source can be driven into heap corruption; the assessed vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Exposure is deployment-specific because the attack surface depends on how the host application ingests sketches (file, IPC or network), which the available sources do not specify, and no public exploit has been identified at time of analysis; the issue is fixed in 5.3.1, and reporting around it remains sparse and partly conflicting.

RemediationAI

Upgrade Apache DataSketches C++ to version 5.3.1, the release the advisory names as the fix for the missing compactor-header validation; vendor information is at https://datasketches.apache.org and the advisory at https://seclists.org/oss-sec/2026/q4/688. Where the upgrade cannot be applied immediately, the exposure is bounded by provenance: the independent assessment notes that applications which only deserialize trusted or internally generated sketches are not exposed, so restrict every deserialization entry point to sketches produced inside the trust boundary and refuse externally supplied sketch blobs arriving via files, IPC or network endpoints - the trade-off is that any legitimate cross-service or cross-tenant sketch exchange must be paused or routed through a trusted intermediary until 5.3.1 is deployed. Identifying the ingestion channel for each deployment is a prerequisite for that restriction, since the sources do not state how host applications receive sketches, and no further vendor-documented workaround beyond updating is provided in the available data.

Affected VersionsENISA

Apache DataSketches C++ 3.0.0 ≤5.3.0

Affected Packages

euvd apache_datasketches_c no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache DataSketches is a library of stochastic streaming algorithms whose sketch structures are designed to have compatible binary representations across Java, C++, Python, Rust and Go, so serialized sketches routinely move between processes and services. The REQ sketch is the relative-error quantiles sketch, and its serialized form carries compactor headers describing the internal compactor state; per the advisory those headers were not validated when a sketch was deserialized. Supplying a crafted serialized sketch with malformed compactor headers therefore causes an out-of-bounds write into heap memory, i.e. memory corruption reachable through the deserialization path rather than through normal sketch updates. No CWE identifier was assigned in the provided data; the advisory classifies the weakness as an out-of-bounds write, and the precise parsing step within the compactor-header handling that fails is described only as missing validation and is not detailed further in the available sources. The vulnerable code is the C++ implementation (DS-CPP), and the trigger is untrusted input to the deserializer, meaning the practical attack vector is whatever channel the embedding application uses to receive sketches.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CNA) PRIMARY 7.4 HIGH
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

AV:N inferred because untrusted sketches are often ingested externally; AC:L/PR:N/UI:N as a crafted sketch alone triggers it; C/I/A:H reflects heap corruption with plausible code-execution worst case.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
CVSS changed
Nov 17, 2026 - 21:22 NVD
7.4 (HIGH)

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
specialized C++ streaming-algorithms library, niche big-data integration footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy