Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Valkey | Valkey | unaffected |
|
No data.
No data.
No data available yet.
Vendor Solution
Upgrade to Valkey 8.0.11, 8.1.10, 9.0.6, 9.1.2 or later.
Vendor Workaround
If you do not need RDMA, build without USE_RDMA or do not configure an RDMA listener. Otherwise, use Valkey ACLs to restrict the CLIENT command, in particular CLIENT KILL.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed | |
| Weaknesses | CWE-416 | |
| References |
| |
| Metrics |
cvssV3_1
|
No data.
Use After Free
No data.
No data.
No data.
No data.