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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-24 · Modified: 2026-12-01
- Aliases: UBUNTU-CVE-2026-136156, DEBIAN-CVE-2026-136156
- Record: https://cvemate.com/vulnerability/CVE-2026-136156 · JSON: https://cvemate.com/vulnerability/CVE-2026-136156/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.969%, percentile 63.045%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian valkey (Debian): All versions (No fix recorded) \| \< 9.1.3-1
- ubuntu valkey (Ubuntu): All versions (No fix recorded)
- valkey 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

## References

- <https://github.com/valkey-io/valkey/security/advisories/GHSA-f4q9-j22m-xqq9>
- <https://github.com/valkey-io/valkey/pull/5030>
- <https://ubuntu.com/security/CVE-2026-136156>
- <https://www.cve.org/CVERecord?id=CVE-2026-136156>
- <https://security-tracker.debian.org/tracker/CVE-2026-136156>

---

Data as of 2026-12-05T05:10:07.984Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
