CVEfocus › CVE database › CVE-2026-136156

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

CVSS 8.8 HighEPSS 1.0% (higher than 60% of CVEs)Published 2026-11-24Updated 2026-11-24Assigner: Akrites

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-122CWE-197

What to do

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10valkeyFix pendingUBUNTU-CVE-2026-136156
Ubuntu 26.04valkeyUnder investigationUBUNTU-CVE-2026-136156
Ubuntu 24.04valkeyFix pendingUBUNTU-CVE-2026-136156
Red Hat Enterprise Linux 10valkeyFix pending
Affected
Red Hat Enterprise Linux 10valkey-develFix pending
Affected
Red Hat Enterprise Linux 10valkey-rdmaFix pending
Affected
Red Hat Enterprise Linux 9redisFix pending
Affected
Red Hat Enterprise Linux 9redis-develFix pending
Affected
Red Hat Enterprise Linux 9redis-docFix pending
Affected
Red Hat Enterprise Linux 9valkeyFix pending
Affected
Red Hat Enterprise Linux 9valkey-develFix pending
Affected
Red Hat Enterprise Linux 8redisFix pending
Affected
Red Hat Enterprise Linux 8redis-develFix pending
Affected
Red Hat Enterprise Linux 8redis-docFix pending
Affected

What the vendor says

As published in the CVE record by Akrites, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to Valkey 7.2.15, 8.0.12, 8.1.11, 9.0.7, 9.1.3, 9.2.0-rc2 or later.

Workaround: 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.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.