Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
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
FAQ
What is CVE-2026-130822?
CVE-2026-130822 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2026-130822?
CVE-2026-130822 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-130822?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.