CVEfocus › CVE database › CVE-2026-136157

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

CVSS 7.5 HighEPSS 0.4% (higher than 29% of CVEs)Published 2026-11-24Updated 2026-11-24Assigner: Akrites

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.

CWE-416

What to do

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10valkeyFix pendingUBUNTU-CVE-2026-136157
Ubuntu 26.04valkeyUnder investigationUBUNTU-CVE-2026-136157
Ubuntu 24.04valkeyFix pendingUBUNTU-CVE-2026-136157
Red Hat Enterprise Linux 9valkeyFix pending
Affected
Red Hat Enterprise Linux 9valkey-develFix pending
Affected

What the vendor says

As published in the CVE record by Akrites, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to Valkey 8.0.11, 8.1.10, 9.0.6, 9.1.2 or later.

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.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.