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


- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 24 Nov 2026
- **Updated:** 24 Nov 2026
- **Also known as:** CLEANSTART-2026-ZR73377, DEBIAN-CVE-2026-136157, DHI-4fqu-nb66-4y5x-oisf, DHI-hf2p-jzba-7bff-2ryz, GHSA-jcj7-v34w-v9vv, GHSA-p7q9-hw68-c556, RHBA-2026:97192, UBUNTU-CVE-2026-136157

## What is CVE-2026-136157?

CVE-2026-136157 is a high-severity vulnerability in Valkey, published on 24 Nov 2026. 

### Official 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.

Weakness: CWE-416 (Use After Free)

## Which versions are affected by CVE-2026-136157?


| Package | Ecosystem | PURL | Affected | Fixed in |
| --- | --- | --- | --- | --- |
| `valkey` | Red Hat:enterprise_linux:10.3 | `pkg:rpm/redhat/valkey` | All versions | 0:8.1.10-1.el10_3 |
| `valkey-debuginfo` | Red Hat:enterprise_linux:10.3 | `pkg:rpm/redhat/valkey-debuginfo` | All versions | 0:8.1.10-1.el10_3 |
| `valkey-debugsource` | Red Hat:enterprise_linux:10.3 | `pkg:rpm/redhat/valkey-debugsource` | All versions | 0:8.1.10-1.el10_3 |
| `valkey-devel` | Red Hat:enterprise_linux:10.3 | `pkg:rpm/redhat/valkey-devel` | All versions | 0:8.1.10-1.el10_3 |
| `valkey-rdma` | Red Hat:enterprise_linux:10.3 | `pkg:rpm/redhat/valkey-rdma` | All versions | 0:8.1.10-1.el10_3 |
| `valkey-rdma-debuginfo` | Red Hat:enterprise_linux:10.3 | `pkg:rpm/redhat/valkey-rdma-debuginfo` | All versions | 0:8.1.10-1.el10_3 |

Status by vendor (upstream, then each distribution release and vendor build):

| Who | Release | Status | Packages | Fixed in |
| --- | --- | --- | --- | --- |
| Red Hat | 10.3 | fixed | `valkey`, `valkey-debuginfo`, `valkey-debugsource` and 3 more | 8.1.10-1.el10_3 |

## How do I fix CVE-2026-136157?

Update Valkey from your Linux distribution or vendor: the fixed builds are listed above.

## Is CVE-2026-136157 being exploited?

There is no known exploitation of CVE-2026-136157 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-136157 and fix it if it is affected.

What it is: CVE-2026-136157 is a high-severity vulnerability in Valkey, published on 24 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-136157 in the wild and no public exploit code.

Affected product: Valkey. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-136157/ (Markdown: https://insights.sbomify.com/CVE-2026-136157/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-136157
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-136157
- OSV: https://osv.dev/vulnerability/CVE-2026-136157

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-136157/
Summaries are generated and may contain mistakes; the official description above is the record.
