USN-8771-1: Valkey vulnerabilities
Ubuntu issued USN-8771-1 fixing Valkey flaws (CVE-2026-56684, CVE-2026-63639) that allow denial of service or possible code execution.
Use-after-free in Valkey TLS handling enables crash and potential RCE
Valkey, the Linux Foundation's Redis-compatible distributed key-value database, contains a use-after-free (CWE-416) in its tlsProcessPendingData function on servers with TLS enabled. While that function iterates the TLS pending-data list, an authenticated client can issue CLIENT KILL, causing connTLSClose to delete the iterator's cached next node and triggering the memory-safety error. An attacker with low-privileged authenticated access can crash the server (denial of service) and potentially achieve remote code execution. All Valkey deployments on the 7.2, 8.0, 8.1, 9.0, and 9.1 branches prior to the fixed releases are affected, but only when TLS is enabled. No public proof-of-concept is known, the flaw is not in CISA's KEV catalog, EPSS estimates roughly a 0.5% chance of exploitation in the next 30 days, and Ubuntu has shipped fixes in USN-8771-1.
What to do: Upgrade Valkey to 7.2.14, 8.0.10, 8.1.9, 9.0.5, or 9.1.1 depending on your branch, and apply Ubuntu's USN-8771-1 update if running the distro package. Until patched, restrict network access to the server, enforce strong authentication/ACLs so only trusted clients can connect, and limit or monitor use of CLIENT KILL, since triggering the bug requires an authenticated client. Verify whether your deployment runs with TLS enabled, as non-TLS instances are not affected.
| Product | Affected |
|---|---|
| Valkey | All versions prior to 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1 (affects the 7.2.x, 8.0.x, 8.1.x, 9.0.x, and 9.1.x branches before these releases; only deployment |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Valkey is a distributed key-value database. Prior to 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1, Valkey's tlsProcessPendingData function iterates pending_list while an authenticated client can trigger CLIENT KILL, causing connTLSClose to delete the iterator's cached next node and producing a use-after-free that can crash the server or potentially allow remote code execution when TLS is enabled. This issue is fixed in versions 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1.
Ubuntu issued USN-8771-1 fixing Valkey flaws (CVE-2026-56684, CVE-2026-63639) that allow denial of service or possible code execution.
Today 1.6K readers · 2.5K views · 780 reads · all time 189K views