CVE-2026-123338
Apache DataSketches C++: Out-of-bounds write in REQ sketch deserialization allows memory corruption via a crafted sketch
Impact
Out-of-bounds Write vulnerability in Apache DataSketches C++. An application that deserializes a REQ sketch from an untrusted source can have heap memory corrupted by a crafted sketch, because the serialized compactor headers were not validated. This issue affects Apache DataSketches C++: from 3.0.0 through 5.3.0. Users are recommended to upgrade to version 5.3.1, which fixes the issue.
An attacker can exploit this with local access to the system, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · Apache Software Foundation
| Product | Affected versions |
|---|---|
| Apache DataSketches C++ | from 3.0.0 through 5.3.0 Version 3.0.0 ≤5.3.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://lists.apache.org/thread/wjsso4wl0f0nczwh7gd74kc5wckn1635
- https://github.com/apache/datasketches-cpp/releases/tag/5.3.1
- https://github.com/apache/datasketches-cpp/commit/9839ffd2ccc038d453e38b545750a5ed2d589dea
- https://github.com/apache/datasketches-cpp/pull/568
- http://www.openwall.com/lists/oss-security/2026/11/13/2
- https://github.com/advisories/GHSA-f29r-h9w7-gp62
- https://nvd.nist.gov/vuln/detail/CVE-2026-123338