{"id":"CVE-2026-103501","state":"PUBLISHED","title":"Apache DataSketches: datasketches-cpp: HLL CouponList Deserialization Buffer Overflow allows memory corruption via a crafted sketch","description":"Heap buffer overflow in the HLL sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp).\n\nWhen deserializing a sketch in LIST mode, from either a byte buffer or a stream, the coupon count was read from the input and used as the number of entries to copy into a fixed buffer of 8 entries, without checking it against the buffer's capacity. A crafted sketch could cause a write of up to 988 bytes past the end of this internal heap buffer. This can corrupt heap memory, causing a crash and potentially enabling further exploitation.\n\nThis issue affects Apache DataSketches C++: from 1.0.0-incubating before 5.3.0. Only applications that deserialize HLL sketches from untrusted sources are affected.\n\nUsers are recommended to upgrade to version 5.3.0, which fixes this issue.","publishedAt":"2026-10-10T10:22:55.843Z","updatedAt":"2026-10-16T15:22:14.055Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache DataSketches"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache DataSketches","packageName":"apache/datasketches-cpp","packageURL":"pkg:github/apache/datasketches-cpp","defaultStatus":"unaffected","versions":[{"version":"1.0.0-incubating","status":"affected","lessThanOrEqual":"5.2.0","versionType":"semver"}],"collectionURL":"https://github.com"}],"references":["https://lists.apache.org/thread/n2oc2j841dzsv4239jjp08of66bo79c5","https://github.com/apache/datasketches-cpp/releases/tag/5.3.0","http://www.openwall.com/lists/oss-security/2026/10/10/2"],"weaknesses":["CWE-122","CWE-1284"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/103xxx/CVE-2026-103501.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-103501","state":"PUBLISHED","datePublished":"2026-10-10T10:22:55.843Z","dateUpdated":"2026-10-16T15:22:14.055Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-09-30T17:29:03.761Z"},"containers":{"cna":{"title":"Apache DataSketches: datasketches-cpp: HLL CouponList Deserialization Buffer Overflow allows memory corruption via a crafted sketch","descriptions":[{"lang":"en","value":"Heap buffer overflow in the HLL sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp).\n\nWhen deserializing a sketch in LIST mode, from either a byte buffer or a stream, the coupon count was read from the input and used as the number of entries to copy into a fixed buffer of 8 entries, without checking it against the buffer's capacity. A crafted sketch could cause a write of up to 988 bytes past the end of this internal heap buffer. This can corrupt heap memory, causing a crash and potentially enabling further exploitation.\n\nThis issue affects Apache DataSketches C++: from 1.0.0-incubating before 5.3.0. Only applications that deserialize HLL sketches from untrusted sources are affected.\n\nUsers are recommended to upgrade to version 5.3.0, which fixes this issue."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache DataSketches","packageName":"apache/datasketches-cpp","packageURL":"pkg:github/apache/datasketches-cpp","defaultStatus":"unaffected","versions":[{"version":"1.0.0-incubating","status":"affected","lessThanOrEqual":"5.2.0","versionType":"semver"}],"collectionURL":"https://github.com"}],"references":[{"url":"https://lists.apache.org/thread/n2oc2j841dzsv4239jjp08of66bo79c5","tags":["vendor-advisory"]},{"url":"https://github.com/apache/datasketches-cpp/releases/tag/5.3.0","tags":["release-notes"]}],"metrics":[{"other":{"type":"Textual description of severity","content":{"text":"moderate"}},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","description":"CWE-122 Heap-based buffer overflow","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1284","description":"CWE-1284 Improper validation of specified quantity in input","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-10-10T10:22:55.843Z"},"source":{"discovery":"EXTERNAL"},"credits":[{"lang":"en","value":"Reported anonymously.","type":"finder"}],"x_generator":{"engine":"Vulnogram 1.0.3"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/10/2"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-10-10T12:10:48.955Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-10-16T15:21:43.590609Z","id":"CVE-2026-103501","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T15:22:14.055Z"}}]}}}