Skip to content
DayZeroHub
High Not yet writtenCVSS 7.5CVE-2026-136157

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

Valkey Valkey

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-136157: high-severity vulnerability (CVSS 7.5) in Valkey Valkey.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.5.

Affected products and versions

Valkey Valkey >= 8.0.0, < 8.0.11; Valkey Valkey >= 8.1.0, < 8.1.10; Valkey Valkey >= 9.0.0, < 9.0.6; Valkey Valkey >= 9.1.0, < 9.1.2

ProductVersionsFixed in
Valkey Valkey>= 8.0.0, < 8.0.11—
Valkey Valkey>= 8.1.0, < 8.1.10—
Valkey Valkey>= 9.0.0, < 9.0.6—
Valkey Valkey>= 9.1.0, < 9.1.2—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-416

Relevant change history

  1. Published

    Preliminary advisory published.