Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed

State
Published
Severity
7.5 High
Published
Nov 24, 2026
Updated
Nov 24, 2026
Reserved
Nov 24, 2026

Read the record on cve.org

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.

ProductVersions
Valkey Valkey8.0.0 to before 8.0.11 Affected8.1.0 to before 8.1.10 Affected9.0.0 to before 9.0.6 Affected9.1.0 to before 9.1.2 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.