Servers and applications
CVE-2026-136157
Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed
- Severity
- High 7.5
- Published
- 24 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 24 Nov 2026
- Fixed in
- 8.0.11, 8.1.10, 9.0.6, 9.1.2
- Weakness
- Use after free (CWE-416)
- Attack
- Over the network · Only under certain conditions · 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:H/PR:L/UI:N/S:U/C:H/I:H/A:H- Sources
- CVE Program
Description
In Valkey 8.0.x before 8.0.11, 8.1.x before 8.1.10, 9.0.x before 9.0.6 and 9.1.x before 9.1.2, the RDMA transport's pending-data handler walks its connection list with an iterator that caches the next entry. A command processed from inside that loop, such as CLIENT KILL, can synchronously free another client's connection, and closing an RDMA connection did not remove it from the pending list, so the handler then uses freed memory. An authenticated user can use this to reliably crash the server, and the freed heap chunk can be reclaimed with attacker-influenced bytes. Only servers built with RDMA support (USE_RDMA) and configured with an RDMA listener are 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-136156Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflowHigh 8.8 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-136157