{"id":"CVE-2026-103513","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-103513","generatedAt":"2026-10-27T23:56:03.841Z","title":"Out-of-bounds read and write in the CPC sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp).","description":"Out-of-bounds read and write in the CPC sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp).\n\nA 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.\n\nThis 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.\n\nUsers are recommended to upgrade to version 5.3.0, which fixes this issue.","published":"2026-10-10T11:17:36.000Z","lastModified":"2026-10-16T16:16:53.000Z","status":"Undergoing Analysis","sourceIdentifier":"security@apache.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-125","CWE-787"],"affected":[],"epss":{"score":0.00394,"percentile":0.33355,"date":"2026-10-26","history":[{"date":"2026-10-11","score":0.00186,"percentile":0.07537}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.39%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"scored","label":"Newly scored","at":"2026-10-16T17:00:51.000Z","detail":{"from":null,"score":"9.8","severity":"CRITICAL","fromSeverity":null},"summary":"Now scored CVSS 9.8 CRITICAL."},{"kind":"new","label":"New CVE","at":"2026-10-10T11:17:36.000Z","detail":{"score":null,"severity":null,"publishedAt":"2026-10-10T11:17:35.853Z"},"summary":"New CVE, critical severity (CVSS 9.8)."}],"references":[{"url":"https://github.com/apache/datasketches-cpp/releases/tag/5.3.0","source":"security@apache.org"},{"url":"https://lists.apache.org/thread/s7wyoqyf120dl5ys8jtr26dskd6m485h","source":"security@apache.org"},{"url":"http://www.openwall.com/lists/oss-security/2026/10/10/3","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-103513","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}