Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-103634— Apache DataSketches: datasketches-cpp: Out-of-bounds read and write in Count-Min sketch deserialization allows memory corruption via a crafted sketch

Quick assessment

Affected
Apache Software Foundation Apache DataSketches
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Apache DataSketches C++(仓库:datasketches-cpp)在 Count-Min Sketch 的反序列化过程中存在越界读取和写入漏洞。 方法在检查输入大小时未包含数据头(preamble),导致截断的 Sketch 数据可能引发从输入末尾向后最多读取 16 字节的越界行为。此外,表格大小是通过 32 位算术运算,根据序列化的桶数量(buckets)和哈希函数数量计算得出的。攻击者可构造恶意 Sketch,使该计算结果发生溢出并回绕为零,导致反序列化后的 Sketch 拥有一个空表格。

AI Predicted 8.1 Difficulty: Moderate
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-103634

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Apache DataSketches: datasketches-cpp: Out-of-bounds read and write in Count-Min sketch deserialization allows memory corruption via a crafted sketch
Source: CVE Program / CVE List V5
Vulnerability Description
Out-of-bounds read and write in the Count-Min sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp). count_min_sketch::deserialize() did not include the preamble in its input size check, so a truncated sketch could cause a read of up to 16 bytes past the end of the input. In addition, the table size was computed from the serialized number of buckets and number of hash functions in 32-bit arithmetic. A crafted sketch could make it wrap to zero, so that the sketch deserialized with an empty table, and later updates and estimate queries read and wrote outside the heap allocation. This can corrupt heap memory, causing a crash and potentially enabling further exploitation. This issue affects Apache DataSketches C++: from 4.1.0 before 5.3.0. Only applications that deserialize Count-Min sketches from untrusted sources are affected. Users are recommended to upgrade to version 5.3.0, which fixes this issue.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Apache Software Foundation Apache DataSketches 4.1.0 ~ 5.2.0 -

II. Public POCs for CVE-2026-103634

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-103634

请登录查看更多情报信息。

Vendor Pages for CVE-2026-103634 (1)

Other References for CVE-2026-103634 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-103634

No comments yet


Leave a comment