CVE-2026-130822 Valkey: Use-after-free when client eviction frees the client whose command is still executing
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebianRed Hat
Description
In Valkey before 7.2.16, 8.0.x before 8.0.13, 8.1.x before 8.1.12, 9.0.x before 9.0.8, 9.1.x before 9.1.4 and 9.2.0 release candidates, when client eviction is enabled (maxmemory-clients is not 0), an authenticated user who can write to a key that other clients are blocked on (for example with BLPOP, BLMPOP, BZPOPMIN or XREAD BLOCK) can trigger a use-after-free. While the clients blocked on that key are served, evictClients() can select and free the client whose command made the key ready, although that command is still executing, and the server then keeps using the freed client. The blocked clients do not have to belong to the attacker. The result is a reliable crash of the server process. Servers with the default maxmemory-clients 0 are not affected.
Upgrade path
23 packages: 12 fixed, 11 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux valkey(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| debian/valkey(Debian 13) | = 8.1.1+dfsg1-3; = 8.1.1+dfsg1-3+deb13u1; = 8.1.1+dfsg1-3+deb13u2; = 8.1.1+dfsg1-3+deb13u3 +7 more | No fix listed | No fix yet |
| redhat/redis(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/redis:6/redis(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/redis:7/redis(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/valkey(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/valkey(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/valkey(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| ubuntu/valkey(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/valkey(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/valkey(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/valkey(Alpine v3.21) | < 7.2.16-r0 | 7.2.16-r0 | Fixed |
| alpine/valkey(Alpine v3.22) | < 8.1.12-r0 | 8.1.12-r0 | Fixed |
| alpine/valkey(Alpine v3.23) | < 9.0.8-r0 | 9.0.8-r0 | Fixed |
| alpine/valkey(Alpine v3.24) | < 9.0.8-r0 | 9.0.8-r0 | Fixed |
| debian/valkey(Debian 14) | < 9.1.4-1; = 8.1.1+dfsg1-3; = 8.1.4+dfsg1-1; = 8.1.4+dfsg1-2 +3 more | 9.1.4-1 | Fixed |
| redhat/valkey7-2-main(Red Hat hummingbird 1) | < 7.2.16-0.1.hum1 | 7.2.16-0.1.hum1 | Fixed |
| redhat/valkey8-0-main(Red Hat hummingbird 1) | < 8.0.13-0.1.hum1 | 8.0.13-0.1.hum1 | Fixed |
| redhat/valkey8-1-main(Red Hat hummingbird 1) | < 8.1.12-0.1.hum1 | 8.1.12-0.1.hum1 | Fixed |
| redhat/valkey9-0-main(Red Hat hummingbird 1) | < 9.0.8-0.1.hum1 | 9.0.8-0.1.hum1 | Fixed |
| redhat/valkey9-1-main(Red Hat hummingbird 1) | < 9.1.4-0.1.hum1 | 9.1.4-0.1.hum1 | Fixed |
| redhat/valkey9-2-main(Red Hat hummingbird 1) | < 9.2.0-0.1.hum1 | 9.2.0-0.1.hum1 | Fixed |
| Valkey | < 7.2.16; >= 8.0.0, < 8.0.13; >= 8.1.0, < 8.1.12; >= 9.0.0, < 9.0.8 +2 more | 7.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4, 9.2.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Valkey | < 7.2.16 | 7.2.16 |
| Valkey | >= 8.0.0, < 8.0.13 | 8.0.13 |
| Valkey | >= 8.1.0, < 8.1.12 | 8.1.12 |
| Valkey | >= 9.0.0, < 9.0.8 | 9.0.8 |
| Valkey | >= 9.1.0, < 9.1.4 | 9.1.4 |
| Valkey | >= 9.2.0-rc1, < 9.2.0 | 9.2.0 |
| redhat/valkey9-1-main(Red Hat:hummingbird:1) | < 9.1.4-0.1.hum1 | 9.1.4-0.1.hum1 |
| redhat/valkey8-0-main(Red Hat:hummingbird:1) | < 8.0.13-0.1.hum1 | 8.0.13-0.1.hum1 |
| redhat/valkey9-0-main(Red Hat:hummingbird:1) | < 9.0.8-0.1.hum1 | 9.0.8-0.1.hum1 |
| redhat/valkey7-2-main(Red Hat:hummingbird:1) | < 7.2.16-0.1.hum1 | 7.2.16-0.1.hum1 |
| redhat/valkey9-2-main(Red Hat:hummingbird:1) | < 9.2.0-0.1.hum1 | 9.2.0-0.1.hum1 |
| redhat/valkey8-1-main(Red Hat:hummingbird:1) | < 8.1.12-0.1.hum1 | 8.1.12-0.1.hum1 |
| redhat/valkey(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/redis:6/redis(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/redis(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/redis:7/redis(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/valkey(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/valkey(Red Hat:hummingbird:1) | All versions | No fix listed |
| debian/valkey(Debian:13) | All versions | No fix listed |
| debian/valkey(Debian:13) | = 8.1.1+dfsg1-3 | No fix listed |
| debian/valkey(Debian:13) | = 8.1.1+dfsg1-3+deb13u1 | No fix listed |
| debian/valkey(Debian:13) | = 8.1.1+dfsg1-3+deb13u2 | No fix listed |
| debian/valkey(Debian:13) | = 8.1.1+dfsg1-3+deb13u3 | No fix listed |
| debian/valkey(Debian:13) | = 8.1.4+dfsg1-1 | No fix listed |
| debian/valkey(Debian:13) | = 8.1.4+dfsg1-2 | No fix listed |
Show 19 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/valkey(Debian:13) | = 9.1.1-1 | No fix listed |
| debian/valkey(Debian:13) | = 9.1.2-1 | No fix listed |
| debian/valkey(Debian:13) | = 9.1.3-1 | No fix listed |
| debian/valkey(Debian:13) | = 9.1.4-1 | No fix listed |
| debian/valkey(Debian:14) | < 9.1.4-1 | 9.1.4-1 |
| debian/valkey(Debian:14) | = 8.1.1+dfsg1-3 | No fix listed |
| debian/valkey(Debian:14) | = 8.1.4+dfsg1-1 | No fix listed |
| debian/valkey(Debian:14) | = 8.1.4+dfsg1-2 | No fix listed |
| debian/valkey(Debian:14) | = 9.1.1-1 | No fix listed |
| debian/valkey(Debian:14) | = 9.1.2-1 | No fix listed |
| debian/valkey(Debian:14) | = 9.1.3-1 | No fix listed |
| alpine/valkey(Alpine:v3.21) | < 7.2.16-r0 | 7.2.16-r0 |
| alpine/valkey(Alpine:v3.22) | < 8.1.12-r0 | 8.1.12-r0 |
| alpine/valkey(Alpine:v3.23) | < 9.0.8-r0 | 9.0.8-r0 |
| alpine/valkey(Alpine:v3.24) | < 9.0.8-r0 | 9.0.8-r0 |
| ubuntu/valkey(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/valkey(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/valkey(Ubuntu:26.10) | All versions | No fix listed |
| azure linux valkey(Azure Linux:3.0) | All versions | No fix listed |
References
- github.com
- github.com
- github.com
- ENISA EUVD EUVD-2026-134075 third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2583380 issue-tracking
- www.cve.org
- nvd.nist.gov
- RHSA-2026:103160 patch vendor-advisory
- RHSA-2026:103174 patch vendor-advisory
- RHSA-2026:103175 patch vendor-advisory
- RHSA-2026:103184 patch vendor-advisory
- RHSA-2026:103193 patch vendor-advisory
- RHSA-2026:103200 patch vendor-advisory
- security.alpinelinux.org vendor-advisory
- Debian Security Tracker CVE-2026-130822 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory