Servers and applications
CVE-2026-136156
Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow
- Severity
- High 8.8
- Published
- 24 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 24 Nov 2026
- Fixed in
- 7.2.15, 8.0.12, 8.1.11, 9.0.7, 9.1.3, 9.2.0-rc2
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
ValkeyServers and applications · cna:valkey|valkey |
|
About Valkey
NoSQL database management software forked from Redis
- Developers who used it in the past year
- 2.4%Stack Overflow Developer Survey 2025, 2025
- Docker Hub pulls
- 421,606,403Docker Hub, 22 Nov 2026
- GitHub stars
- 27,817GitHub, 22 Nov 2026
- Forks
- 1,481GitHub, 22 Nov 2026
- Latest release
- 9.2.0GitHub, 22 Nov 2026
- Released
- 19 Nov 2026GitHub
- License
- 3-clause BSD LicenseWikidata
- Written in
- CWikidata
- First released
- 28 Mar 2024Wikidata
- First published on GitHub
- 22 Mar 2024GitHub
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 9.2 | 9.2.0 | Until 19 Nov 2031 |
| 9.1 | 9.1.4 | Until 19 May 2031 |
| 9.0 | 9.0.8 | Until 21 Oct 2028 |
| 8.1 | 8.1.12 | Until 31 Mar 2030 |
| 8.0 | 8.0.13 | Until 15 Sept 2027 |
| 7.2 | 7.2.16 | Until 16 Apr 2029 |
From endoflife.date.
Vulnerabilities in Valkey
- In our list
- 17
- Published in the last 12 months
- 12
- Critical, last 12 months
- 0
- High, last 12 months
- 12
- Known exploited
- 0
- CVE-2026-136157Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processedHigh 7.5 24 Nov 2026
- CVE-2026-136155Valkey: Use-after-free of the Lua interpreter state through the script debugger's command cacheHigh 8.8 24 Nov 2026
- CVE-2026-130822Use-after-free when client eviction frees the client whose command is still executingHigh 7.5 19 Nov 2026
- GHSA-f4q9-j22m-xqq9Integer truncation in Valkey cluster publish message construction causes a heap buffer overflowHigh 8.8 26 Oct 2026
- GHSA-fq2f-crmw-q97rUnauthenticated use-after-free of the Lua interpreter state in Valkey (script debugger command cache)High 8.8 31 Aug 2026
- GHSA-jcj7-v34w-v9vvUse-after-free in the RDMA pending-data handler when a clientHigh 7.5 31 Aug 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-136156