All reports
High

Valkey: Valkey: Use-after-free when client eviction frees the client whose command is still executing

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Description

A flaw was found in Valkey. When client eviction is enabled, an authenticated attacker who writes to a key that other clients are blocked on can trigger a use-after-free memory flaw. This occurs because the server may prematurely free the active client connection while its command is still being executed. Exploitation leads to a server crash, resulting in a Denial of Service (DoS).