{"id":"CVE-2026-123338","state":"PUBLISHED","title":"Apache DataSketches C++: Out-of-bounds write in REQ sketch deserialization allows memory corruption via a crafted sketch","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.","publishedAt":"2026-11-13T10:32:43.404Z","updatedAt":"2026-11-17T20:25:59.430Z","severity":{"score":7.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache DataSketches C++"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache DataSketches C++","packageName":"apache/datasketches-cpp","packageURL":"pkg:github/apache/datasketches-cpp","defaultStatus":"unaffected","versions":[{"version":"3.0.0","status":"affected","lessThanOrEqual":"5.3.0","versionType":"semver"}],"collectionURL":"https://github.com"}],"references":["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"],"weaknesses":["CWE-787"],"ingestedAt":"2026-11-17T20:34:07.068Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/123xxx/CVE-2026-123338.json","commit":"45891917b1885531422d749da6e5e1c7597422aa","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-123338","state":"PUBLISHED","datePublished":"2026-11-13T10:32:43.404Z","dateUpdated":"2026-11-17T20:25:59.430Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-11-05T18:41:24.720Z"},"containers":{"cna":{"title":"Apache DataSketches C++: Out-of-bounds write in REQ sketch deserialization allows memory corruption via a crafted sketch","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache DataSketches C++","packageName":"apache/datasketches-cpp","packageURL":"pkg:github/apache/datasketches-cpp","defaultStatus":"unaffected","versions":[{"version":"3.0.0","status":"affected","lessThanOrEqual":"5.3.0","versionType":"semver"}],"collectionURL":"https://github.com"}],"references":[{"url":"https://lists.apache.org/thread/wjsso4wl0f0nczwh7gd74kc5wckn1635","tags":["vendor-advisory"]},{"url":"https://github.com/apache/datasketches-cpp/releases/tag/5.3.1","tags":["release-notes"]},{"url":"https://github.com/apache/datasketches-cpp/commit/9839ffd2ccc038d453e38b545750a5ed2d589dea","tags":["patch"]},{"url":"https://github.com/apache/datasketches-cpp/pull/568","tags":["patch"]}],"metrics":[{"other":{"type":"Textual description of severity","content":{"text":"moderate"}},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"CWE-787, Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-11-13T10:32:43.404Z"},"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.3"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/11/13/2"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-11-13T11:07:42.270Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.4,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-11-17T16:05:19.135343Z","id":"CVE-2026-123338","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-11-17T20:25:59.430Z"}}]}}}