{"id":"CVE-2026-103635","aliases":["CVE-2026-103635"],"related":[],"kind":"vulnerability","state":"published","title":"Apache DataSketches: datasketches-cpp: Out-of-bounds read in compact Theta sketch deserialization allows denial of service via a crafted sketch","summary":"Out-of-bounds read in the compact Theta sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp).\n\ncompact_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.\n\nThis issue affects Apache DataSketches C++: from 3.1.0 before 5.3.0. Only applications that deserialize Theta sketches from untrusted sources are affected.\n\nUsers are recommended to upgrade to version 5.3.0, which fixes this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Out-of-bounds read in the compact Theta sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp).\n\ncompact_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.\n\nThis issue affects Apache DataSketches C++: from 3.1.0 before 5.3.0. Only applications that deserialize Theta sketches from untrusted sources are affected.\n\nUsers are recommended to upgrade to version 5.3.0, which fixes this issue.","source":"cvelist"}],"published":"2026-10-10T10:23:48.598Z","modified":"2026-10-16T16:16:53.760Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-125","CWE-190"],"affected":[{"ranges":[{"type":"semver","introduced":"3.1.0","lastAffected":"5.2.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache DataSketches","package":"apache/datasketches-cpp","source":"cvelist"}],"references":[{"url":"https://lists.apache.org/thread/15b86y9jstco39kzppjw7l5kvhjvwqvv","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/apache/datasketches-cpp/releases/tag/5.3.0","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/10/5","tags":[],"sources":["cvelist","nvd"]}],"credits":["He Huang","NexusSan"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T15:27:43.270Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-103635","url":"https://www.cve.org/CVERecord?id=CVE-2026-103635","licence":"CVE Terms of Use","modified":"2026-10-16T15:28:02.277Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-103635","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103635","licence":"Public domain","modified":"2026-10-16T16:16:53.760Z"}],"updatedAt":"2026-11-25T22:59:43.412Z","epss":{"score":0.00394,"percentile":0.35716,"date":"2026-12-01T12:00:22.000Z"}}