Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privilege Valkey credentials
-
DeliveryConnect to Valkey over network
-
ExploitIssue DUMP on a target stream to capture RDB blob
-
InstallManipulate blob to create shared NACK pointer across two consumers
-
C2Submit crafted payload via RESTORE command
-
ExecuteTrigger consumer deletion to free shared NACK
-
ImpactExploit 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
UAF in Redis 8.2.1 via crafted Lua scripts by authenticated users. EPSS 12.4%. Patch available.
Out-of-bounds read in Valkey's cluster slot-migration RDB loader allows a network-positioned attacker to crash affected
Use-after-free in Valkey's TLS connection handler allows an authenticated remote attacker to crash the server or potenti
Redis is an open source, in-memory database that persists on disk. Rated high severity (CVSS 7.5), this vulnerability is
Denial of service in Valkey 9.0.0 through 9.0.2 allows unauthenticated network attackers to crash the server by exploiti
Out-of-bounds read in Valkey clusterbus port processing allows network-adjacent attackers to crash affected systems by s
Response-stream injection in Valkey (the Redis fork) lets an authenticated user abuse Lua scripting commands to smuggle
Double-free memory corruption in Valkey 9.1.0's Module Timer Subsystem allows a high-privileged remote attacker to crash
Out-of-bounds read in Valkey's `kvstoreGetHashtable` function (src/kvstore.c) allows an attacker who can supply a crafte
Same weakness CWE-416 – Use After Free
View allVendor 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 |
| openSUSE Tumbleweed | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| openSUSE Leap 15.6 | Affected |
| private-registry/harbor-valkey suse/valkey | Affected |
EUVD-2026-60823
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB