CVE-2026-130822
Valkey: Use-after-free when client eviction frees the client whose command is still executing
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.
INFO
Published Date :
Nov. 24, 2026, 2:18 p.m.
Last Modified :
Nov. 24, 2026, 3:19 p.m.
Remotely Exploit :
Yes !
Source :
7fefd608-56a6-419f-a002-fd8543c0710a
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 7fefd608-56a6-419f-a002-fd8543c0710a |
Solution
- Update Valkey to a version later than 7.2.16.
- Update Valkey to a version later than 8.0.13.
- Update Valkey to a version later than 8.1.12.
- Update Valkey to a version later than 9.0.8.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-130822.
| URL | Resource |
|---|---|
| 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 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-130822 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-130822
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-130822 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-130822 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 7fefd608-56a6-419f-a002-fd8543c0710a
Nov. 24, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-416 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/130xxx/CVE-2026-130822.json">CVE-2026-130822</a> Added Reference https://github.com/valkey-io/valkey/issues/5422 Added Reference https://github.com/valkey-io/valkey/pull/5435 Added Reference https://github.com/valkey-io/valkey/security/advisories/GHSA-3885-pq5f-788j