CVE-2026-130822: Valkey: Use-after-free when client eviction frees the client whose command is still executing
Vulnerability summary
CVE-2026-130822 is a high (CVSS 7.5) Use After Free vulnerability in valkey. EPSS estimates a 0.77% chance of exploitation in the next 30 days, higher than 56.8% of scored vulnerabilities.
Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6Timeline
- 24-11-2026PublishedVulnerability first disclosed.
- 01-12-2026Last modifiedVulnerability information updated.
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 metrics
5 scores · 5 sources · 1 version- NVDNIST7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.77%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- valkey< 7.2.16-r0 | < 8.1.12-r0 | < 9.0.8-r0 | < 9.2.0-r0
Debian1 product
- valkeyAll versions (No fix recorded) | < 9.1.4-1
Opensuse1 product
- valkey&distro=openSUSE Tumbleweed< 9.2.0-1.1
Ubuntu1 product
- valkeyAll versions (No fix recorded)
Valkey1 product
- valkey< 7.2.16 | ≥ 8.0.0, < 8.0.13 | ≥ 8.1.0, < 8.1.12 | ≥ 9.0.0, < 9.0.8 | ≥ 9.1.0, < 9.1.4 | ≥ 9.2.0-rc1, < 9.2.0
5 vendors · 5 products