
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-136156 is a heap-based buffer overflow vulnerability in Valkey (an open-source Redis fork) caused by an integer truncation error in cluster mode publish message construction. When a PUBLISH or SPUBLISH command is issued with a channel and message payload exceeding 4 GiB, the clusterCreatePublishMsgBlock function computes the message length as a size_t but passes it to createClusterMsgSendBlock as a uint32_t, causing silent truncation and allocation of a far smaller buffer than required. The vulnerability affects Valkey versions 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; servers not running in cluster mode are unaffected. It carries a CVSS v3.1 base score of 8.8 (High) (Valkey Advisory, GitHub Advisory). The vulnerability was reported by Nenad Stojanovski working with Trend Micro Zero Day Initiative (ZDI-CAN-28318) and disclosed on October 26, 2026, with NVD publication on November 24, 2026 (Valkey Advisory).
The root cause is a numeric truncation error (CWE-197) in clusterCreatePublishMsgBlock within src/cluster_legacy.c (or src/cluster.c on 7.2 branch), where the computed size_t message length is implicitly narrowed to uint32_t when passed to createClusterMsgSendBlock. This results in a heap-based buffer overflow (CWE-122 / CWE-787): a buffer far smaller than the actual payload is allocated, and two subsequent memcpy calls copy the full oversized channel and message into it, writing attacker-controlled bytes past the end of the heap buffer. Both the regular and light cluster bus header paths are affected, as are the module publish APIs. Because the default proto-max-bulk-len is 512 MB, a client cannot send a >4 GiB argument directly; however, a Lua or other server-side script can construct such a payload in memory, bypassing the direct size limit. The fix, implemented in PR #5030, validates the complete serialized message length before any 32-bit conversion or allocation, and rejects oversized PUBLISH/SPUBLISH requests with an error (Valkey Advisory, Fix PR).
Successful exploitation reliably crashes the Valkey server process due to the heap buffer overflow, causing a denial of service for all clients depending on the cluster. Because the overflowing bytes are attacker-controlled, the vulnerability may be escalated to remote code execution running as the OS user account under which the Valkey server operates, potentially granting full system access. This could lead to complete confidentiality, integrity, and availability compromise of the affected node, with potential for lateral movement to other cluster nodes or connected systems (Valkey Advisory, GitHub Advisory).
As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). The vulnerability requires authenticated access with PUBLISH permissions and the ability to construct a >4 GiB payload (typically via server-side scripting), making it non-trivially automatable. The EPSS score is approximately 0.97% (61st percentile), indicating a relatively low but non-negligible probability of exploitation within 30 days (GitHub Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.
CLUSTER INFO command returning cluster_enabled:1).proto-max-bulk-len (default 512 MB), use a server-side Lua script (e.g., via EVAL) to programmatically build a channel or message string exceeding 4 GiB in total combined length.clusterCreatePublishMsgBlock to compute the length as size_t and pass it truncated as uint32_t to createClusterMsgSendBlock.memcpy calls write the full attacker-controlled payload past the end of the heap buffer.clusterCreatePublishMsgBlock or createClusterMsgSendBlock.valkey-server process, particularly on cluster-mode nodes; presence of core dump files in the Valkey working directory.Upgrade to the patched versions: Valkey 7.2.15, 8.0.12, 8.1.11, 9.0.7, 9.1.3, or 9.2.0-rc2 (Valkey Advisory). As an interim workaround, restrict access to scripting commands (EVAL, EVALSHA, EVAL_RO, EVALSHA_RO, FCALL, FCALL_RO, FUNCTION) using Valkey ACLs for any users that do not require them, and ensure proto-max-bulk-len is not raised above its default of 512 MB. Additionally, limit PUBLISH command access to trusted clients only and implement network-level controls to restrict who can connect to cluster-mode nodes (Valkey Advisory, Red Hat Bugzilla). Amazon Linux users should apply the updates referenced in ALAS2027-2026-402 and ALAS2023-2026-3524.
The vulnerability was reported through Trend Micro's Zero Day Initiative (ZDI-CAN-28318), indicating coordinated disclosure with an established bug bounty program (Valkey Advisory). Red Hat tracked the issue via Bugzilla (Bug 2583396) and classified it as high severity, reflecting its potential impact on enterprise deployments (Red Hat Bugzilla). The fix was reviewed and merged promptly by the Valkey maintainers and backported across all supported release lines, demonstrating a responsive security posture from the project (Fix PR).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."