Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with high-privilege credentials
-
DeliveryBlock two clients on same key (BLPOP or module)
-
ExploitTrigger key-ready signal via LPUSH or module
-
ExecutionFirst client reply callback issues CLIENT KILL on second
-
PersistFreed client memory accessed by live iterator
-
ImpactServer process crashes (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
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 authenticated access with high privileges (PR:H per the CVSS 4.0 vector) to the Valkey server. The triggering condition is having two or more clients blocked simultaneously on the same key, combined with the ability to cause one client's reply callback to free another blocked client - either via CLIENT KILL issued inside a Valkey module reply handler, or via client eviction triggered during reply processing (a related but distinct code path also addressed in the fix's test suite via maxmemory-clients). High attack complexity (AC:H) reflects the need to orchestrate this specific reentrant teardown scenario. Exploitation is limited by: (1) mandatory high-privilege authentication - unauthenticated or low-privilege users cannot trigger this path; (2) requirement for concurrent blocked clients on the same key; (3) the need for control over a module reply callback or the ability to issue CLIENT KILL in the reply context. Default Valkey deployments without custom modules are significantly harder to exploit, though the BLPOP + maxmemory-clients test case in the patch shows the issue exists without modules as well. |
| Impact | The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L) yields a base score of 1.2, accurately reflecting the narrow impact profile: network-reachable but requiring high attack complexity and high privileges, with only limited availability (server crash/DoS) and no confidentiality or integrity impact. No EPSS data was provided in the input. The vulnerability is not in CISA KEV, confirming no known active in-the-wild exploitation. A public PoC archive is referenced (E:P in the 4.0 supplemental vector), but the PoC's exploitability is constrained by the need to orchestrate specific module or multi-client interaction - this is not a straightforward crash trigger. The overall real-world risk is low: an attacker must already have high-privilege access to the Valkey instance and must be able to control module reply-callback behavior or issue CLIENT KILL from within a blocked-client reply context. This is far more likely to surface as an accidental crash in complex module deployments than as a deliberate attack path. |
| Exploit ScenarioDerived | An authenticated high-privilege attacker connects two clients to a Valkey instance and blocks both on the same key using BLPOP or a module-based blocking command. The attacker then pushes a value to the key, signaling it ready. As the server serves the first blocked client, that client's module reply callback executes CLIENT KILL targeting the second blocked client, freeing its memory while the ready-key iterator still holds a pointer to it; the resulting UAF causes a server crash. A public PoC is available at https://github.com/user-attachments/files/30111628/PoC.zip. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
Use-after-free in Valkey 9.1.0's blocked-on-keys subsystem allows a high-privilege authenticated attacker to crash the server by triggering a reentrant client teardown during ready-key iteration. When a key becomes ready and multiple clients are unblocked simultaneously, a reply callback for the first-served client can invoke CLIENT KILL on a successor client, freeing that client's memory while the iterator in handleClientsBlockedOnKey still holds a reference to it. A public proof-of-concept exists; the vulnerability is not in CISA KEV, and the high complexity and privilege requirements substantially limit practical exploitation.
RemediationAI
Apply the upstream fix by building from a revision that includes commit b2fb0e13f5b4c8c2fb63dcfc2c37a067a0d6d20b (https://github.com/valkey-io/valkey/commit/b2fb0e13f5b4c8c2fb63dcfc2c37a067a0d6d20b), also tracked in PR #4212 (https://github.com/valkey-io/valkey/pull/4212). No official tagged patched release version is independently confirmed in the input data - the fix exists as a commit and merged PR but a specific release number has not been identified. As a compensating control until a patched build is available, restrict Valkey access at the network level to only trusted, high-privilege operators using firewall rules or Valkey's built-in ACL system; this reduces the attack surface since PR:H is required. Additionally, audit any loaded Valkey modules for reply callbacks that issue CLIENT KILL or call freeClient() against other blocked clients, as this is the specific interaction pattern that triggers the UAF.
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 is an open-source, Linux Foundation-maintained key-value store forked from Redis following Redis's license change in 2024. Its blocked-on-keys subsystem (src/blocked.c) allows clients to block waiting for a key to become ready - for example, BLPOP waiting on a list push. When signalDeletedKeyAsReady or a module-level signal fires, handleClientsBlockedOnKey iterates the list of waiting clients to serve them in order. Pre-fix, this used a direct listIter that could be invalidated mid-loop: serving one client's reply callback could reenter the server and call freeClient() on a successor in the same list (e.g., via CLIENT KILL issued inside a module reply handler), leaving the iterator pointing at freed memory. The fix snapshots client IDs before iteration and re-resolves each from the live list, skipping any that were freed. Although tagged CWE-119 (bounds violation) and 'Buffer Overflow', this is structurally a CWE-416 Use-After-Free triggered by reentrant list mutation. No CPE string was provided; the affected codebase is github.com/valkey-io/valkey at the 9.1.0 tag.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable but requires high-privilege authentication and complex race-condition orchestration; impact is limited to server availability with no confidentiality or integrity effect.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A security flaw has been discovered in valkey-io valkey 9.1.0. The affected element is the function handleClientsBlockedOnKey of the file src/blocked.c of the component Blocked-on-keys Subsystem. The manipulation results in use after free. The attack may be performed from remote. A high complexity level is associated with this attack. The exploitability is described as difficult. The exploit has been released to the public and may be used for attacks. The patch is identified as b2fb0e13f5b4c8c2fb63dcfc2c37a067a0d6d20b. Applying a patch is advised to resolve this issue.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-68393
GHSA-vxq6-76gw-j6q5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB