CVE-2026-136157
Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed
- CVSS
- 7.5
- EPSS
- 0.43% (p29)
- Published
- 2026-11-24
- Age
- 5d old
- Modified
- 2026-11-25
- Product
- Valkey Valkey
- Aliases
- GHSA-jcj7-v34w-v9vv
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Fixed in
8.0.11 · 8.1.10 · 9.0.6 · 9.1.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Valkey | >=8.0.0, <8.0.11 | 8.0.11 |
| vendor | Valkey | >=8.1.0, <8.1.10 | 8.1.10 |
| vendor | Valkey | >=9.0.0, <9.0.6 | 9.0.6 |
| vendor | Valkey | >=9.1.0, <9.1.2 | 9.1.2 |
Sources
- NVD · first seen 5d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 5d ago · CVE Terms of Use
References
- https://github.com/valkey-io/valkey/security/advisories/GHSA-jcj7-v34w-v9vv other
- https://github.com/valkey-io/valkey/pull/4534 other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136157.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-136157 advisory
- https://github.com/valkey-io/valkey package