{"api_version":"1","generated_at":"2026-11-24T16:24:36+00:00","cve":"CVE-2026-136156","urls":{"html":"https://cve.report/CVE-2026-136156","api":"https://cve.report/api/cve/CVE-2026-136156.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-136156","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-136156"},"summary":{"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.","state":"PUBLISHED","assigner":"Akrites","published_at":"2026-11-24 15:17:33","updated_at":"2026-11-24 15:19:53"},"problem_types":["CWE-122","CWE-197","CWE-197 CWE-197 Numeric Truncation Error","CWE-122 CWE-122 Heap-based Buffer Overflow"],"metrics":[{"version":"3.1","source":"7fefd608-56a6-419f-a002-fd8543c0710a","type":"Secondary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","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","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/valkey-io/valkey/security/advisories/GHSA-f4q9-j22m-xqq9","name":"https://github.com/valkey-io/valkey/security/advisories/GHSA-f4q9-j22m-xqq9","refsource":"7fefd608-56a6-419f-a002-fd8543c0710a","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/valkey-io/valkey/pull/5030","name":"https://github.com/valkey-io/valkey/pull/5030","refsource":"7fefd608-56a6-419f-a002-fd8543c0710a","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-136156","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136156","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 7.2.15 semver","platforms":[]},{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 8.0.0 8.0.12 semver","platforms":[]},{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 8.1.0 8.1.11 semver","platforms":[]},{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 9.0.0 9.0.7 semver","platforms":[]},{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 9.1.0 9.1.3 semver","platforms":[]},{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 9.2.0-rc1 9.2.0-rc2 semver","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to Valkey 7.2.15, 8.0.12, 8.1.11, 9.0.7, 9.1.3, 9.2.0-rc2 or later.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"Use Valkey ACLs to restrict the scripting commands (EVAL, EVALSHA, EVAL_RO, EVALSHA_RO, FCALL, FCALL_RO and FUNCTION) if your application does not use them, and do not raise proto-max-bulk-len above its default.","time":"","lang":"en"}],"exploits":[],"credits":[{"source":"CNA","value":"Nenad Stojanovski working with Trend Micro Zero Day Initiative","lang":"en"},{"source":"CNA","value":"Roshan Khatri","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Valkey","repo":"https://github.com/valkey-io/valkey","vendor":"Valkey","versions":[{"lessThan":"7.2.15","status":"affected","version":"0","versionType":"semver"},{"lessThan":"8.0.12","status":"affected","version":"8.0.0","versionType":"semver"},{"lessThan":"8.1.11","status":"affected","version":"8.1.0","versionType":"semver"},{"lessThan":"9.0.7","status":"affected","version":"9.0.0","versionType":"semver"},{"lessThan":"9.1.3","status":"affected","version":"9.1.0","versionType":"semver"},{"lessThan":"9.2.0-rc2","status":"affected","version":"9.2.0-rc1","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Nenad Stojanovski working with Trend Micro Zero Day Initiative"},{"lang":"en","type":"remediation developer","value":"Roshan Khatri"}],"datePublic":"2026-10-26T22:49:43.000Z","descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-197","description":"CWE-197 Numeric Truncation Error","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-122","description":"CWE-122 Heap-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-24T14:06:28.061Z","orgId":"7fefd608-56a6-419f-a002-fd8543c0710a","shortName":"Akrites"},"references":[{"url":"https://github.com/valkey-io/valkey/security/advisories/GHSA-f4q9-j22m-xqq9"},{"url":"https://github.com/valkey-io/valkey/pull/5030"}],"solutions":[{"lang":"en","value":"Upgrade to Valkey 7.2.15, 8.0.12, 8.1.11, 9.0.7, 9.1.3, 9.2.0-rc2 or later."}],"title":"Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow","workarounds":[{"lang":"en","value":"Use Valkey ACLs to restrict the scripting commands (EVAL, EVALSHA, EVAL_RO, EVALSHA_RO, FCALL, FCALL_RO and FUNCTION) if your application does not use them, and do not raise proto-max-bulk-len above its default."}],"x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"7fefd608-56a6-419f-a002-fd8543c0710a","assignerShortName":"Akrites","cveId":"CVE-2026-136156","datePublished":"2026-11-24T14:06:28.061Z","dateReserved":"2026-11-24T13:53:38.491Z","dateUpdated":"2026-11-24T14:06:28.061Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-24 15:17:33","lastModifiedDate":"2026-11-24 15:19:53","problem_types":["CWE-122","CWE-197","CWE-197 CWE-197 Numeric Truncation Error","CWE-122 CWE-122 Heap-based Buffer Overflow"],"metrics":{"cvssMetricV31":[{"source":"7fefd608-56a6-419f-a002-fd8543c0710a","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"136156","Ordinal":"1","Title":"Valkey: Integer truncation in cluster publish message constructi","CVE":"CVE-2026-136156","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"136156","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Valkey: Integer truncation in cluster publish message constructi"}]}}}