๐Ÿ” CVE Alert

CVE-2026-136156

HIGH 8.8

Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-197 CWE-122
Vendor valkey
Product valkey
Published Nov 24, 2026
Stay Ahead of the Next One

Get instant alerts for valkey valkey

Be the first to know when new high vulnerabilities affecting valkey valkey are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

Valkey / Valkey
0 < 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

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/valkey-io/valkey/security/advisories/GHSA-f4q9-j22m-xqq9 github.com: https://github.com/valkey-io/valkey/pull/5030

Credits

Nenad Stojanovski working with Trend Micro Zero Day Initiative Roshan Khatri