CVE-2026-136156: Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow
Vulnerability summary
CVE-2026-136156 is a high (CVSS 8.8) Heap-based Buffer Overflow vulnerability in valkey. EPSS estimates a 0.97% chance of exploitation in the next 30 days, higher than 63% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6Timeline
- 24-11-2026PublishedVulnerability first disclosed.
- 01-12-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.97%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- valkeyAll versions (No fix recorded) | < 9.1.3-1
Ubuntu1 product
- valkeyAll versions (No fix recorded)
Valkey1 product
- valkey< 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
3 vendors · 3 products