{"id":"DHI-acqi-v3y2-e6jg-refj","aliases":[],"title":"### Impact","originalDescription":"### 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","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"Docker Hardened Images:Debian:13","name":"valkey-9.1","range":">=0, <9.1.4-0","fixed":"9.1.4-0"}],"references":[{"url":"https://scout.docker.com/v/DHI-acqi-v3y2-e6jg-refj","type":"advisory"},{"url":"https://github.com/valkey-io/valkey/security/advisories/GHSA-3885-pq5f-788j","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130822","type":"advisory"},{"url":"https://access.redhat.com/security/cve/CVE-2026-130822","type":"advisory"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-130822","type":"web"},{"url":"https://github.com/valkey-io/valkey/issues/5422","type":"web"},{"url":"https://github.com/valkey-io/valkey/pull/5435","type":"web"},{"url":"https://ubuntu.com/security/CVE-2026-130822","type":"advisory"},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-130822","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-26T00:18:01.935Z","url":"https://osv.dev/vulnerability/DHI-acqi-v3y2-e6jg-refj","license":"CC-BY 4.0","firstSeenAt":"2026-11-23T22:39:14.016Z"}],"firstSeenAt":"2026-11-23T22:39:14.016Z","publishedAt":"2026-11-23T22:07:18.000Z","modifiedAt":"2026-11-25T22:45:08.441Z"}