Bug 2583380 (CVE-2026-130822) - CVE-2026-130822 Valkey: Valkey: Use-after-free when client eviction frees the client whose command is still executing
Summary: CVE-2026-130822 Valkey: Valkey: Use-after-free when client eviction frees the...
Keywords:
Status: NEW
Alias: CVE-2026-130822
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2583454 2583455 2583456
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-24 14:11 UTC by OSIDB Bzimport
Modified: 2026-11-24 15:47 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-24 14:11:27 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.