DHI-acqi-v3y2-e6jg-refj
### Impact
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-23
- Age
- 5d old
- Modified
- 2026-11-25
- Product
- Docker Hardened Images:Debian:13 valkey-7.2
Description
### Impact This is a use-after-free (CWE-416). Any 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 it on a server with client eviction enabled. The blocked clients do not have to belong to the attacker. The result is a reliable crash of the server process. Servers with `maxmemory-clients 0` (the default) are not affected. ### Details After a command runs, `processCommand()` in `src/server.c` calls `handleClientsBlockedOnKeys()` to serve the clients blocked on keys the command made ready. `unblockClientOnKey()` in `src/blocked.c` points `server.current_client` at each blocked client and re-executes its command through `processCommandAndResetClient()`, and `processCommand()` starts by calling `evictClients()`. If the replies sent to blocked clients earlier in the same pass push client memory over `maxmemory-clients`, `evictClients()` can pick the client whose command made the key ready, which is still on the call stack. `freeClient()` in `src/networking.c` only defers freeing for `server.current_client`, so that client is freed immediately, and `commandProcessed()`, `updateClient
Fixed in
9.1.4-0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Docker Hardened Images:Debian:13 | valkey-9.1 | >=0, <9.1.4-0 | 9.1.4-0 |
Sources
- OSV · first seen 5d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-acqi-v3y2-e6jg-refj advisory
- https://github.com/valkey-io/valkey/security/advisories/GHSA-3885-pq5f-788j advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-130822 advisory
- https://access.redhat.com/security/cve/CVE-2026-130822 advisory
- https://www.cve.org/CVERecord?id=CVE-2026-130822 web
- https://github.com/valkey-io/valkey/issues/5422 web
- https://github.com/valkey-io/valkey/pull/5435 web
- https://ubuntu.com/security/CVE-2026-130822 advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-130822 advisory