Skip to content
NewA calmer, faster ZeroHour
Vulnerability4 · 1 read

CVE-2026-56684

Use-after-free in Valkey TLS handling enables crash and potential RCE

CVSS 3.1
7.5 high
EPSS
<1%p43
Published
·
Modified
Analyze CVE-2026-56684 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

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.

ProductAffected
ValkeyAll 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
Estimated exposure
largeOn the order of 100,000+ server deployments potentially affected (only the TLS-enabled subset is exploitable) — Valkey is the Linux Foundation fork of Redis adopted as a Redis-compatible engine by major cloud managed services and packaged in mainstream distributions such as Ubuntu (USN-8771-1), so installed-server counts plausibly reach the hundreds…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

Weakness
CWE-416
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news

1 story