CVE-2026-136156 Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow

Published Updated

CVSS score

High

8.8/10

CVSS 3.1 · Scored by Akrites Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
7.2.15, 8.0, 8.0.12 +1
Attack path
Over the network
Any signed-in user, no user action

What is CVE-2026-136156?

CVE-2026-136156 is a high-severity vulnerability in Valkey, published on 24 Nov 2026.

Official 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.

Weakness: CWE-197, CWE-122

How severe is CVE-2026-136156?

CVE-2026-136156 scores 8.8 out of 10 under CVSS 3.1, which is high severity. It was scored by Akrites.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Which versions are affected by CVE-2026-136156?

How do I fix CVE-2026-136156?

Upgrade Valkey to the fixed version for your release line. The advisory names 7.2.15, 8.0, 8.0.12 and 8.1.

Is CVE-2026-136156 being exploited?

There is no known exploitation of CVE-2026-136156 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-136156, DHI-jxqi-q5c4-7snc-y4ga, DHI-qpdo-m6p4-pmn7-dra7, GHSA-2hgv-4f6x-9hfg, GHSA-f4q9-j22m-xqq9, UBUNTU-CVE-2026-136156.

Is CVE-2026-136156 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free