← VULNERABILITIES

DHI-acqi-v3y2-e6jg-refj

### Impact

UnscoredFix available
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

EcosystemPackageRangeFixed
Docker Hardened Images:Debian:13valkey-9.1>=0, <9.1.4-09.1.4-0

Sources

  • OSV · first seen 5d ago · CC-BY 4.0

References

JSON