{"schemaVersion":4,"id":"CVE-2026-136156","aliases":["UBUNTU-CVE-2026-136156","DEBIAN-CVE-2026-136156"],"status":"published","duplicateOf":null,"title":"Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow","description":"In Valkey before 7.2.15, 8.0.x before 8.0.12, 8.1.x before 8.1.11, 9.0.x before 9.0.7, 9.1.x before 9.1.3 and 9.2.0-rc1, running in cluster mode, clusterCreatePublishMsgBlock computes the length of the cluster bus message for a PUBLISH or SPUBLISH as a size_t but passes it to createClusterMsgSendBlock as a uint32_t. When the channel and message together exceed 4 GiB, the length is truncated, a buffer far smaller than the message is allocated, and the full channel and message are then copied into it. An authenticated user who can publish, for example by building the arguments in a script, can overflow the heap with attacker-controlled bytes. This reliably crashes the server and may lead to remote code execution. Servers that do not run in cluster mode are not affected.","dates":{"published":"2026-11-24T14:06:28.061Z","modified":"2026-12-01T19:38:25.362Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.00969,"percentile":0.63045,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-25T00:00:00.000Z","score":0.00968,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00968,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00968,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00969,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00969,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00969,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00969,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00969,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00969,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00969,"percentile":0.63045}],"last30":[{"date":"2026-11-25T00:00:00.000Z","score":0.00968,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00968,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00968,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00969,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00969,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00969,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00969,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00969,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00969,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00969,"percentile":0.63045}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"The product writes past the end of a buffer that was allocated on the heap.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"},{"id":"CWE-197","name":"Numeric Truncation Error","description":"Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/197.html"}],"affected":[{"vendor":"debian","product":"valkey","name":"valkey","label":"valkey","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/valkey","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 9.1.3-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"9.1.3-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 9.1.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"valkey","name":"valkey","label":"valkey","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/valkey","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"valkey","product":"valkey","name":"Valkey","label":"valkey","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 7.2.15","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"7.2.15","endInclusive":false}},{"text":"≥ 8.0.0, < 8.0.12","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.0.0","startInclusive":true,"end":"8.0.12","endInclusive":false}},{"text":"≥ 8.1.0, < 8.1.11","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.1.0","startInclusive":true,"end":"8.1.11","endInclusive":false}},{"text":"≥ 9.0.0, < 9.0.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"9.0.0","startInclusive":true,"end":"9.0.7","endInclusive":false}},{"text":"≥ 9.1.0, < 9.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"9.1.0","startInclusive":true,"end":"9.1.3","endInclusive":false}},{"text":"≥ 9.2.0-rc1, < 9.2.0-rc2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"9.2.0-rc1","startInclusive":true,"end":"9.2.0-rc2","endInclusive":false}}],"versionsText":"< 7.2.15 | ≥ 8.0.0, < 8.0.12 | ≥ 8.1.0, < 8.1.11 | ≥ 9.0.0, < 9.0.7 | ≥ 9.1.0, < 9.1.3 | ≥ 9.2.0-rc1, < 9.2.0-rc2","eol":null,"hubHref":"/vendor/valkey/valkey"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/valkey-io/valkey/security/advisories/GHSA-f4q9-j22m-xqq9","label":"github.com/valkey-io/valkey/security/advisories/GHSA-f4q9-j22m-xqq9","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/valkey-io/valkey/pull/5030","label":"github.com/valkey-io/valkey/pull/5030","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-136156","label":"ubuntu.com/security/CVE-2026-136156","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-136156","label":"www.cve.org/CVERecord?id=CVE-2026-136156","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-136156","label":"security-tracker.debian.org/tracker/CVE-2026-136156","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2026:103160","RHSA-2026:103174","RHSA-2026:103175","RHSA-2026:103184","RHSA-2026:103193","RHSA-2026:103200"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-24T14:06:28.061Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T19:38:25.362Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,88],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00969,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T19:38:25.362Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-01T19:38:25.362Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-12-01T19:38:25.362Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-12-01T19:38:25.362Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-30T16:42:36.464Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00969,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:27:49.402Z","stale":false,"partial":false}}