CVE-2026-63639

Valkey: UAF in stream deserialization may lead to remote code execution

Published Aug 18, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Valkey’s RESTORE command can accept a malformed RDB stream that assigns one Pending Entry List NACK to multiple consumers during stream consumer‑group deserialization. When a consumer is deleted while another still references the shared NACK, a use‑after‑free occurs, potentially allowing an attacker to trigger remote code execution. This is a classic use‑after‑free flaw (CWE‑416) that may also be leveraged through the exploitation technique identified by CWE‑825.

Affected Systems

The vulnerability affects the Valkey key‑value database from the Valkey‑IO organization. Versions older than 7.2.14, 8.0.10, 8.1.9, 9.0.5 and 9.1.1 are impacted; the fix was applied in those release points and subsequent versions. All earlier releases remain vulnerable.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity. The exploit can be performed over the network by sending a crafted RESTORE command to a reachable Valkey instance. The EPSS score of less than 1% indicates a low but nonzero exploitation probability, and this issue is not listed in the CISA KEV catalog. Because the attack vector is remote and the impact is arbitrary code execution, operators should treat the vulnerability as a security priority requiring prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Valkey to version 7.2.14 or later, 8.0.10 or later, 8.1.9 or later, 9.0.5 or later, or 9.1.1 or later, which contain the fix for the use‑after‑free flaw.
  • If an upgrade cannot be performed immediately, restrict or block access to the RESTORE command from untrusted networks or apply firewall rules that limit RDB stream uploads to trusted hosts.
  • Monitor Valkey logs for abnormal RESTORE activity and watch for signs of exploitation attempts, applying security hardening best practices as a temporary protective measure.

Generated by OpenCVE AI on August 25, 2026 at 15:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Valkey-io
Valkey-io valkey
Vendors & Products Valkey-io
Valkey-io valkey
Type Values Removed Values Added
Description 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.
Title Valkey: UAF in stream deserialization may lead to remote code execution
Weaknesses CWE-416
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 20, 2026, 6:36 PM
Reserved
Jul 17, 2026, 2:11 PM
Status
Awaiting Analysis
Published
Aug 18, 2026, 3:16 PM
Modified
Oct 22, 2026, 10:10 PM
Severity
Important
Public date
Aug 18, 2026, 2:23 PM