CVE-2026-130822
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Azure Linux Affected 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 3.0 | — | Affected | — |
Debian Mixed 3 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | valkey |
Affected | — |
| sid | valkey |
Fixed | 9.1.4-1 |
| forky | valkey |
Fixed | 9.1.4-1 |
Alpine Fixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| v3.24 | valkey |
Fixed | 9.0.8-r0 |
| v3.23 | valkey |
Fixed | 9.0.8-r0 |
| v3.22 | valkey |
Fixed | 8.1.12-r0 |
| v3.21 | valkey |
Fixed | 7.2.16-r0 |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| valkey | valkey | {"endExcluding":"7.2.16"} | 7.2.16 |
| valkey | valkey | {"startIncluding":"8.0.0","endExcluding":"8.0.13"} | 8.0.13 |
| valkey | valkey | {"startIncluding":"8.1.0","endExcluding":"8.1.12"} | 8.1.12 |
| valkey | valkey | {"startIncluding":"9.0.0","endExcluding":"9.0.8"} | 9.0.8 |
| valkey | valkey | {"startIncluding":"9.1.0","endExcluding":"9.1.4"} | 9.1.4 |
| valkey | valkey | {"startIncluding":"9.2.0-rc1","endExcluding":"9.2.0"} | 9.2.0 |
References
- https://github.com/valkey-io/valkey/issues/5422
- https://github.com/valkey-io/valkey/pull/5435
- https://github.com/valkey-io/valkey/security/advisories/GHSA-3885-pq5f-788j
- https://www.suse.com/security/cve/CVE-2026-130822.html
- https://security.alpinelinux.org/vuln/CVE-2026-130822
- https://pkgs.alpinelinux.org/packages?name=valkey
- https://security-tracker.debian.org/tracker/CVE-2026-130822
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-130822
CWEs
CWE-416
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.