Skip to main content

Valkey CVE-2026-63639

| EUVDEUVD-2026-60823 HIGH
Use After Free (CWE-416)
2026-08-18 GitHub_M
8.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain low-privilege Valkey credentials
  2. Delivery
    Connect to Valkey over network
  3. Exploit
    Issue DUMP on a target stream to capture RDB blob
  4. Install
    Manipulate blob to create shared NACK pointer across two consumers
  5. C2
    Submit crafted payload via RESTORE command
  6. Execute
    Trigger consumer deletion to free shared NACK
  7. Impact
    Exploit heap use-after-free for remote code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a Valkey client session authenticated with at least low-privilege credentials (CVSS PR:L) and with access to the RESTORE command - if ACLs block RESTORE for that user, exploitation is not possible. The attacker must be able to supply an externally-crafted RDB blob to RESTORE; the malformed payload must contain a stream object with a consumer group in which two consumers share the same PEL NACK (achieved by replacing a message ID in the serialized output as shown in the vendor reproducer). No special server-side configuration, non-default feature flag, or specific platform is required beyond an accessible Valkey instance that processes the RESTORE command. Exploitation is limited by: (1) the requirement for authenticated Valkey access, which in hardened deployments is restricted to internal services; (2) the attacker's need to construct a binary-precise malformed RDB payload, though the vendor's own test documents the exact byte offset and substitution needed.

Impact

CVSS 8.8 with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H accurately reflects the threat surface: the attack is network-reachable, mechanically straightforward once authenticated, and carries full CIA impact. The PR:L constraint is the primary real-world limiting factor - exploitation requires an authenticated Valkey session with RESTORE command access, which in hardened deployments may be restricted via ACLs or unavailable to untrusted clients. No CISA KEV entry exists and no standalone public proof-of-concept has been identified; however, the fix PR (github.com/valkey-io/valkey/pull/4073) includes a precise, working reproducer test that documents the exact byte-level payload manipulation needed (replacing a 16-byte big-endian message ID in a DUMP blob to create a shared NACK), substantially reducing the research effort for a motivated attacker. EPSS data was not provided; given network reachability and a detailed reproducer, actual exploitation probability is elevated relative to the absence of a KEV listing would suggest. Defenders with untrusted clients capable of issuing RESTORE should treat this as high priority.

Exploit ScenarioDerived

An attacker with a low-privileged Valkey account issues a DUMP command on a stream with a consumer group, captures the RDB blob, then manually replaces the 16-byte big-endian message ID in the second consumer's PEL entry with the ID already held by the first consumer to create a shared NACK pointer. The attacker then issues RESTORE with the modified blob (bypassing CRC validation if needed via the debug flag or crafting a valid CRC). When Valkey subsequently deletes one consumer, the shared NACK is freed while the other consumer retains a dangling pointer, enabling heap corruption that can be escalated to remote code execution. The vendor's own fix PR includes a step-by-step reproducer test that mirrors this exact flow, substantially lowering attacker effort.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 18, 2026

Use-after-free in Valkey's RESTORE command allows a low-privileged remote attacker to potentially execute arbitrary code by supplying a crafted RDB stream payload that assigns a single Pending Entry List (PEL) NACK to multiple stream consumers. Valkey versions prior to 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1 across all active release trains are affected. When one consumer referencing the shared NACK is deleted while another still holds a pointer to the same memory, a use-after-free condition occurs that can corrupt the allocator heap and enable remote code execution. No public exploit or CISA KEV listing exists at time of analysis, though the vendor's own fix PR includes a detailed reproducer test that substantially lowers the barrier to weaponization.

RemediationAI

Upgrade to a fixed release: Valkey 7.2.14 (https://github.com/valkey-io/valkey/releases/tag/7.2.14), 8.0.10 (https://github.com/valkey-io/valkey/releases/tag/8.0.10), 8.1.9 (https://github.com/valkey-io/valkey/releases/tag/8.1.9), 9.0.5 (https://github.com/valkey-io/valkey/releases/tag/9.0.5), or 9.1.1 (https://github.com/valkey-io/valkey/releases/tag/9.1.1). If immediate patching is not feasible, restrict RESTORE command access via Valkey ACLs to prevent untrusted or low-privileged clients from invoking it (ACL SETUSER with the RESTORE command removed from the allowed command set); note this disables cross-instance data migration workflows that rely on DUMP/RESTORE. Additionally, placing the Valkey instance behind a network boundary that limits access to trusted internal clients reduces exposure at the cost of operational flexibility. Neither workaround eliminates the underlying memory corruption defect - upgrading remains the only definitive fix.

Affected VersionsENISA

Valkey 8.1.0, < 8.1.9
Valkey < 7.2.14
Valkey 8.0.0, < 8.0.10
Valkey 9.1.0, < 9.1.1
Valkey 9.0.0, < 9.0.5

Affected Packages

euvd valkey fix: 7.2.14, 8.0.10, 8.1.9, 9.0.5, 9.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Valkey (cpe:2.3:a:valkey-io:valkey) is an open-source, Redis-compatible distributed key-value store that serializes and deserializes database state using the RDB (Redis Database) binary format. The RESTORE command accepts an externally-supplied RDB blob and reconstructs in-memory objects from it, including stream consumer groups. Stream consumer groups maintain a Pending Entry List (PEL) - a radix tree of NACK structs that track unacknowledged messages. Each NACK struct contains a pointer back to exactly one owning consumer. The vulnerability (CWE-416: Use After Free) arises because the RDB deserialization path in rdb.c did not validate that a NACK was already assigned to a different consumer before assigning it again, allowing a malformed payload to create aliased pointers where two distinct consumer structs point to the same NACK. When the first consumer is subsequently freed (e.g., on consumer deletion), the NACK memory is released while the second consumer still holds a dangling pointer to it, corrupting heap metadata and enabling attacker-controlled memory writes.

Know when Valkey gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable via RESTORE command; PR:L because Valkey authentication is required; AC:L since payload crafting is mechanically straightforward as documented by the vendor test.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 8.8 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 18, 2026 - 15:02 EUVD
CVE Published
Aug 18, 2026 - 14:23 cve.org
HIGH 8.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Valkey versions prior to 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1 contain a use-after-free vulnerability in the RESTORE command that allows authenticated remote attackers with low privileges to execute arbitrary code with CVSS 8.8 severity. This impacts database infrastructure where Valkey is deployed. Successful exploitation could enable complete database compromise, data exfiltration, and lateral movement to backend systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.2%
Top 35% exploitable
Prevalence
Medium
growing Redis-compatible open-source database, rising enterprise adoption
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Module for Server Applications 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP6-LTSS Fixed
SUSE Linux Enterprise Server 16.0 SUSE Linux Enterprise Server for SAP applications 16.0 Fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP6 Fixed
openSUSE Leap 16.0 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy