# CVE-2026-23479: redis-server use-after-free in unblock client flow may allow remote code execution

> An authenticated attacker can trigger a use-after-free in Redis during client unblocking, potentially leading to remote code execution.

- **Severity:** High 7.7 (`CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 5 May 2026
- **Updated:** 16 Jul 2026
- **Also known as:** ALPINE-CVE-2026-23479, AZL-86093, BELL-CVE-2026-23479, BIT-keydb-2026-23479, BIT-redis-2026-23479, BIT-valkey-2026-23479, DEBIAN-CVE-2026-23479, GHSA-93m2-935m-8rj3, MINI-3w2c-73mm-r3p8, MINI-5x7j-63fv-7rpx, MINI-9jmh-w2hc-mf7r, MINI-9wh9-prj5-4cmj, MINI-g5h7-6xjc-p88j, MINI-gqjr-mwjr-93qv, RHSA-2026:7662, UBUNTU-CVE-2026-23479

## What is CVE-2026-23479?

CVE-2026-23479 is a high-severity use after free vulnerability in redis, published on 5 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

Redis is an in-memory data structure store. In redis-server from 7.2.0 until 8.6.3, the unblock client flow does not handle an error return from `processCommandAndResetClient` when re-executing a blocked command. If a blocked client is evicted during this flow, an authenticated attacker can trigger a use-after-free that may lead to remote code execution. This has been patched in version 8.6.3.

Weakness: CWE-416 (Use After Free)

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

3 open source packages ship an affected version, including redis, keydb and valkey. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `redis` | Bitnami | From 7.2.0 | 7.2.14, 7.4.9, 8.2.6, 8.4.3, 8.6.3 |
| `keydb` | Bitnami | From 7.2.0 | 7.2.14, 7.4.9, 8.2.6, 8.4.3, 8.6.3 |
| `valkey` | Bitnami | All versions | 7.2.13, 8.0.8, 8.1.7, 9.0.4 |
| `boost` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-atomic` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-b2` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-build` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-charconv` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-chrono` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-cobalt` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-container` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-context` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-contract` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-coroutine` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-date-time` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-devel` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-doc` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-doctools` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-examples` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-fiber` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-filesystem` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-graph` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-graph-mpich` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-graph-openmpi` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-iostreams` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-json` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-locale` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-log` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-math` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-mpich` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-mpich-devel` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-mpich-python3` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-mpich-python3-devel` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-nowide` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-numpy3` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-openmpi` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-openmpi-devel` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-openmpi-python3` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-openmpi-python3-devel` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |
| `boost-process` | Red Hat:hummingbird:1 | All versions | 0:1.90.0-7.hum1 |

Products: Redis Redis.

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

Upgrade redis to a fixed version for your release line: 7.2.14, 7.4.9, 8.2.6 or 8.4.3.

## Is CVE-2026-23479 being exploited?

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

Public exploit code:

- Redis CVE-2026-23479 UAF RCE vulnerability checker mirror — pduggusa, MIT; for authorized security testing (github_poc): https://github.com/HackSpeak/CVE-2026-23479
- Safe read-only version checker + Sigma rule for Redis CVE-2026-23479 (authenticated use-after-free -> RCE). By DugganUSA. (github_poc): https://github.com/pduggusa/redis-cve-2026-23479-check
- CVE-2026-23479 Redis Use-After-Free vulnerability detection tool (github_poc): https://github.com/v1c0mmrt/redis-cve-2026-23479-scanner
- Proof of concept with GDB‑assisted exploitation (educational / lab use only) (github_poc): https://github.com/rizlmaulanaa/CVE-2026-23479-Redis-UAF-Proof-of-Concept

## Other vulnerabilities in redis

- [CVE-2022-0543](https://insights.sbomify.com/CVE-2022-0543/): Debian-specific Redis Server Lua Sandbox Escape (critical 10.0, exploited in the wild)
- [CVE-2026-25243](https://insights.sbomify.com/CVE-2026-25243/): redis-server RESTORE invalid memory access may allow remote code execution (high 7.7)
- [CVE-2025-62507](https://insights.sbomify.com/CVE-2025-62507/): Redis: Bug in XACKDEL may lead to stack overflow and potential RCE (high 7.7)
- [CVE-2025-48367](https://insights.sbomify.com/CVE-2025-48367/): Redis DoS Vulnerability due to bad connection error handling (high 7.5)
- [CVE-2023-31655](https://insights.sbomify.com/CVE-2023-31655/): Denial of service in n/a (high 7.5)

## Fix prompt for AI coding agents

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

What it is: CVE-2026-23479 is a high-severity use after free vulnerability in redis, published on 5 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-23479 in the wild and no public exploit code.

Affected packages and fixed versions:
- redis (Bitnami): affected from 7.2.0; fixed in 7.2.14, 7.4.9, 8.2.6, 8.4.3, 8.6.3
- keydb (Bitnami): affected from 7.2.0; fixed in 7.2.14, 7.4.9, 8.2.6, 8.4.3, 8.6.3
- valkey (Bitnami): affected all versions; fixed in 7.2.13, 8.0.8, 8.1.7, 9.0.4

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-23479/ (Markdown: https://insights.sbomify.com/CVE-2026-23479/index.md)
```

## Sources

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

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