7.5high
Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed
- Severity
- 7.5high CVSS:3.1 by Akrites
- Exploit likelihood
- 0.43% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Akrites
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
| Product or package | Versions | Reported by |
|---|---|---|
| Valkey Valkey | from 8.0.0 before 8.0.11, from 8.1.0 before 8.1.10, from 9.0.0 before 9.0.6, from 9.1.0 before 9.1.2 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-136157 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-136157 changed 2026-12-01 | Public domain |