Skip to main content
Menu
CVEs

Valkey use-after-free in RDMA transport can crash server

CVE-2026-136157Published November 24, 2026, updated

7.5HighCNA
Exploited
No known exploitation
Fix
Fixed in 8.0.11, 8.1.10, 9.0.6, 9.1.2
Who is exposed
Specific setups only

Summary

Valkey has a use-after-free flaw in its RDMA transport, where freed client connection memory is still used while pending data is processed. An authenticated user can reach it over the network to reliably crash the server, and can also reclaim the freed memory with attacker-influenced bytes, but only in builds with RDMA support and an RDMA listener configured.

Written by a model

Original 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.

What to do

  1. Upgrade to a fixed version: 8.0.11, 8.1.10, 9.0.6, 9.1.2.

  2. Workaround: Build without USE_RDMA or do not configure an RDMA listener; otherwise use Valkey ACLs to restrict the CLIENT command, in particular CLIENT KILL.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-136157 (Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-136157 (entry last updated 2026-11-24):
Affected:
- Valkey Valkey: from 8.0.0, fixed in 8.0.11; from 8.1.0, fixed in 8.1.10; from 9.0.0, fixed in 9.0.6; from 9.1.0, fixed in 9.1.2
Fixed versions: 8.0.11, 8.1.10, 9.0.6, 9.1.2.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, low-privilege login, no user action.
Workaround: Build without USE_RDMA or do not configure an RDMA listener; otherwise use Valkey ACLs to restrict the CLIENT command, in particular CLIENT KILL. (source: https://www.cve.org/CVERecord?id=CVE-2026-136157)
CISA KEV: CVE-2026-136157 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-136157 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/valkey-io/valkey/security/advisories/GHSA-jcj7-v34w-v9vv
- https://github.com/valkey-io/valkey/pull/4534
- https://www.cve.org/CVERecord?id=CVE-2026-136157
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-136157
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-136157"}.

Affected versions

cve.now Index

16Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure8/25Specific setups only, reachable over the network
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity7.5/10CVSS 7.5
  • No patch0/5No signal

What would change the score

  • Would score about 66 if added to CISA KEV
  • Would score about 61 if CISA's SSVC rates exploitation active
  • Would score about 23 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 4

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
AdvisoryGitHub · valkey-io/valkey · Advisory GHSA-jcj7-v34w-v9vv
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-136157
RecordNVD · CVE-2026-136157
Other links 1
RepositoryGitHub · valkey-io/valkey · Pull request #4534

Questions about CVE-2026-136157

Is CVE-2026-136157 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

Which versions are affected by CVE-2026-136157?

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.

Source: cve.now feed data

How do I fix CVE-2026-136157?

Upgrade to Valkey 8.0.11, 8.1.10, 9.0.6, 9.1.2 or later, matching your release line. If you cannot upgrade yet, see the workaround in the no-patch answer.

Source: cve.org

No corrections so far. Something wrong on this page? Report an error.