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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-103635— Apache DataSketches: datasketches-cpp: Out-of-bounds read in compact Theta sketch deserialization allows denial of service 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)中,compact Theta sketch 反序列化过程存在越界读取漏洞。 和 函数在验证输入数据长度之前,就读取了头字段。对于压缩格式,32 位整数溢出可能导致长度检查被绕过;同时,控制解码的两个头字段未经过有效性验证;该问题也影响了从数据流进行的反序列化操作。恶意构造或截断的 sketch 数据可能导致程序读取超出输入数据边界的内容。在压缩格式的情况下,越界读取的范围可能较大,且被读取的字节可能被嵌入到反序列化后的 ske

AI Predicted 7.5 Difficulty: Moderate

Affected Version Matrix 1

VendorProduct Version RangeStatus
Apache Software Foundation Apache DataSketches 3.1.0≤ 5.2.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-103635

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 in compact Theta sketch deserialization allows denial of service via a crafted sketch
Source: CVE Program / CVE List V5
Vulnerability Description
Out-of-bounds read in the compact Theta sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp). compact_theta_sketch::deserialize() and wrapped_compact_theta_sketch::wrap() read header fields before checking that the input was long enough. For the compressed format, the size check could be defeated by a 32-bit overflow, and two header fields that control decoding were not validated; this also affected deserialization from a stream. A crafted or truncated sketch could cause a read past the end of the input. In the compressed case the over-read can be large, and the bytes read can become part of the deserialized sketch. This can cause a crash (denial of service) and could expose adjacent memory contents. This issue affects Apache DataSketches C++: from 3.1.0 before 5.3.0. Only applications that deserialize Theta 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 3.1.0 ~ 5.2.0 -

II. Public POCs for CVE-2026-103635

# 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-103635

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

Mailing List Discussions for CVE-2026-103635 (1)

Vendor Pages for CVE-2026-103635 (1)

Same Patch Batch · Apache Software Foundation · 2026-10-10 · 4 CVEs total

CVE-2026-103636 Apache DataSketches: datasketches-cpp: Out-of-bounds read in VarOpt union deserialization
CVE-2026-103513 Apache DataSketches: datasketches-cpp: Out-of-bounds read and write in the CPC sketch dese
CVE-2026-103501 Apache DataSketches: datasketches-cpp: HLL CouponList Deserialization Buffer Overflow allo

IV. Related Vulnerabilities

V. Comments for CVE-2026-103635

No comments yet


Leave a comment