{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"apache/datasketches-cpp","product":"Apache DataSketches C++","source":"CNA: apache","vendor":"Apache Software Foundation","versions":[{"lessThanOrEqual":"5.3.0","status":"affected","version":"3.0.0","versionType":"semver"}]}],"cveId":"CVE-2026-123338","cwes":["CWE-787"],"description":"Out-of-bounds Write vulnerability in Apache DataSketches C++. An\n  application that deserializes a REQ sketch from an untrusted source\n  can have heap memory corrupted by a crafted sketch, because the\n  serialized compactor headers were not validated.\n\n  This issue affects Apache DataSketches C++: from 3.0.0 through 5.3.0.\n\n  Users are recommended to upgrade to version 5.3.1, which fixes the\n  issue.","epss":null,"exploits":[],"kev":null,"metrics":[],"modifiedAt":1794568636273,"publishedAt":1794565963404,"references":[{"source":"CNA: apache","tags":["vendor-advisory"],"url":"https://lists.apache.org/thread/wjsso4wl0f0nczwh7gd74kc5wckn1635"},{"source":"CNA: apache","tags":["release-notes"],"url":"https://github.com/apache/datasketches-cpp/releases/tag/5.3.1"},{"source":"CNA: apache","tags":["patch"],"url":"https://github.com/apache/datasketches-cpp/commit/9839ffd2ccc038d453e38b545750a5ed2d589dea"},{"source":"CNA: apache","tags":["patch"],"url":"https://github.com/apache/datasketches-cpp/pull/568"},{"source":"ADP: CVE","tags":[],"url":"http://www.openwall.com/lists/oss-security/2026/11/13/2"},{"source":"security@apache.org","tags":[],"url":"https://github.com/apache/datasketches-cpp/commit/9839ffd2ccc038d453e38b545750a5ed2d589dea"},{"source":"security@apache.org","tags":[],"url":"https://github.com/apache/datasketches-cpp/pull/568"},{"source":"security@apache.org","tags":[],"url":"https://github.com/apache/datasketches-cpp/releases/tag/5.3.1"},{"source":"security@apache.org","tags":[],"url":"https://lists.apache.org/thread/wjsso4wl0f0nczwh7gd74kc5wckn1635"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"url":"http://www.openwall.com/lists/oss-security/2026/11/13/2"}],"remediation":[{"kind":"fix","source":"CNA: apache","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/apache/datasketches-cpp/commit/9839ffd2ccc038d453e38b545750a5ed2d589dea"},{"kind":"fix","source":"CNA: apache","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/apache/datasketches-cpp/pull/568"}],"revision":"f5cdb6ec28971edb73dea8153e9f0a6563e9dd63dd5e845d0d0b8d80304d8b9b","sources":[{"modifiedAt":1794568062270,"name":"CNA: apache","retrievedAt":1794571729124,"url":"https://www.cve.org/CVERecord?id=CVE-2026-123338"},{"modifiedAt":1794568636273,"name":"NVD","retrievedAt":1794572362727,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123338"}],"ssvc":null,"status":"published","title":"Apache DataSketches C++: Out-of-bounds write in REQ sketch deserialization allows memory corruption via a crafted sketch","updatedAt":1794572362727}