sadrobot

← Back to the monthly list · Apache Software Foundation →

CVE-2026-103513 Apache Software Foundation · Apache DataSketches

9.8 Critical

AI summary

Apache DataSketches C++ from 2.0.0-incubating before 5.3.0 has out-of-bounds read and (in the hybrid flavor) heap write flaws in CPC sketch deserialization triggered by a crafted sketch. This can crash the application and potentially allow further exploitation; only apps deserializing CPC sketches from untrusted sources are affected. Critical (9.8); upgrade to 5.3.0.

Official 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.

Published
2026-10-10 11:17 UTC
Modified
2026-10-16 16:16 UTC
CVSS
9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.65% (percentile 46)
ENISA EUVD
EUVD-2026-96307
CISA SSVC
Exploitation: none · Automatable: yes · Technical impact: total
CWE
CWE-125

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high

References