Skip to content
NewA calmer, faster ZeroHour
Vulnerability9 · 4 reads

CVE-2026-63639

Use-after-free in Valkey RESTORE command may allow remote code execution

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

Valkey, the Linux Foundation's open-source distributed key-value database and Redis fork, contains a use-after-free (CWE-416) in its processing of the RESTORE command. An authenticated client can supply a malformed RDB stream payload that, during stream consumer-group deserialization, assigns a single Pending Entry List NACK to multiple consumers; when one of those consumers is deleted while another still references the shared NACK, freed memory is reused, which can corrupt the server and potentially allows remote code execution. A successful attacker gains code execution on the Valkey server host with high impact on confidentiality, integrity, and availability (CVSS 3.1 score 8.8, network vector, low privileges required, no user interaction). All deployments running Valkey versions prior to 7.2.14, 8.0.10, 8.1.9, 9.0.5, or 9.1.1 are affected, including downstream distribution packages such as Ubuntu's valkey, for which Canonical issued USN-8771-1. No public proof-of-concept, CISA KEV listing, or confirmed in-the-wild exploitation is known, and EPSS currently estimates only a 0.9% probability of exploitation within 30 days.

What to do: Upgrade Valkey to version 7.2.14, 8.0.10, 8.1.9, 9.0.5, or 9.1.1 depending on your release branch; Ubuntu users should apply the update from USN-8771-1. Because exploitation requires an authenticated client connection, restrict network access to the Valkey port, enforce authentication/ACLs, and limit which clients can issue RESTORE. Check running instances via the server banner or INFO command to confirm they are on a fixed version.

ProductAffected
Valkey (Linux Foundation) ValkeyAll releases prior to 7.2.14 (7.2.x branch), 8.0.10 (8.0.x branch), 8.1.9 (8.1.x branch), 9.0.5 (9.0.x branch), and 9.1.1 (9.1.x branch)
Canonical Ubuntu (valkey package)—
Estimated exposure
large≈10,000–100,000+ server deployments (self-hosted instances plus managed cloud caches) — No Valkey-specific internet-exposure scan counts are published, so this is inferred from deployment patterns: Valkey has been widely adopted since 2024 as a drop-in Redis replacement (bundled by major clouds such as ElastiCache and…

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 RESTORE command accepts a malformed RDB stream payload that assigns one Pending Entry List NACK to multiple consumers during stream consumer-group deserialization, causing a use-after-free when one consumer is deleted while another still references the shared NACK and potentially allowing remote code execution. 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:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news

1 story