Use-after-free Vulnerability in Valkey Product by Valkey
CVE-2026-130822
7.5HIGH
What is CVE-2026-130822?
In Valkey versions prior to specific updates, a use-after-free vulnerability arises when client eviction is enabled. An authenticated user able to write to a key that other clients are blocked on can trigger this vulnerability. This occurs during the execution of commands that interact with blocked clients, resulting in the server prematurely freeing memory assigned to an executing client. Consequently, this can lead to a server crash, leaving it vulnerable to disruption. Notably, servers with the default setting for maxmemory-clients (set to 0) remain unaffected.
Affected Version(s)
Valkey 0 < 7.2.16
Valkey 8.0.0 < 8.0.13
Valkey 8.1.0 < 8.1.12
