Skip to main content

Valkey EUVDEUVD-2026-134075

| CVE-2026-130822 HIGH
Use After Free (CWE-416)
2026-11-24 7fefd608-56a6-419f-a002-fd8543c0710a
7.5
CVSS 3.1 · Vendor: 7fefd608-56a6-419f-a002-fd8543c0710a
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with write access to blocked-on key
  2. Delivery
    Fill client output buffers near maxmemory-clients limit
  3. Exploit
    Write to key other clients block on
  4. Execution
    evictClients frees still-executing client (UAF)
  5. Impact
    Valkey server process crashes

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 that client eviction be enabled - maxmemory-clients must be set to a non-zero value; servers running the default maxmemory-clients 0 are NOT affected. The attacker must be an authenticated user (PR:L) with write access (via ACLs) to a key that other clients are blocked on using a blocking command (BLPOP, BRPOP, BLMOVE, BRPOPLPUSH, BLMPOP, BZPOPMIN, BZPOPMAX, BZMPOP, or XREAD/XREADGROUP with BLOCK); the blocked clients need not belong to the attacker. The attacker must also drive aggregate client memory so that the replies sent to the served blocked clients push the total over maxmemory-clients at the moment the readying command is still executing (this timing/memory-pressure requirement is why AC is High). Limiting factors for defenders: non-default configuration, required authentication, ACL-granted write access to the blocked key, and the need to cross the eviction threshold precisely. Vendor mitigations: set maxmemory-clients to 0 (disabling client eviction, while ensuring client-output-buffer-limit and maxmemory still bound client memory), or use ACLs to prevent untrusted users from writing to blocked keys and from running the listed blocking commands; the complete fix is upgrading to a fixed version.

Impact

Signals are moderate and partially conflicting. The NVD CVSS:3.1 base score is 7.5 (HIGH) with AV:N/AC:H/PR:L/UI:N and full C:H/I:H/A:H impact, but the GHSA advisory and the fix PR describe the outcome only as 'a reliable crash of the server process' - i.e. an availability/DoS impact. The claimed C:H/I:H is not substantiated by any evidence of information disclosure or code execution, so the published vector likely overstates confidentiality and integrity impact; treat this as an authenticated denial-of-service, not a confirmed RCE. Mitigating factors lower real-world priority further: the flaw only affects servers where client eviction is enabled (maxmemory-clients is not 0), and the default maxmemory-clients 0 is explicitly NOT affected. No EPSS score and no KEV status were supplied, and there is no indication of active exploitation. AC:H reflects that the attacker must drive client memory across the eviction threshold at the right moment, raising the practical bar. Net: a genuine, vendor-confirmed server-crash bug worth patching on the vuln.today 'this_week' cadence, but it is an authenticated DoS gated behind a non-default configuration rather than a drop-everything emergency. Missing data to verify: EPSS probability and KEV status were not provided.

Exploit ScenarioDerived

On a Valkey server with client eviction enabled (maxmemory-clients set), an authenticated user who can write to a key that other clients are blocked on (e.g. via BLPOP/BLMPOP/BZPOPMIN/XREAD BLOCK) issues a write that makes the key ready. As the blocked clients are served, their replies push client memory over maxmemory-clients, so evictClients() selects and frees the client whose command is still executing on the call stack, and the server keeps using the freed client - a use-after-free that reliably crashes the process. A reproduction test demonstrating the crash is included in fix PR #5435; no standalone weaponized exploit is reported.

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

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

Alert me

AnalysisAIv1 – Nov 24, 2026

Use-after-free in Valkey's client-eviction path allows an authenticated user to reliably crash the server process. The attacker needs write access (granted by ACLs) to a key that other clients are blocked on - BLPOP, BRPOP, BLMOVE, BRPOPLPUSH, BLMPOP, BZPOPMIN, BZPOPMAX, BZMPOP, or XREAD/XREADGROUP with BLOCK - and client eviction must be enabled (maxmemory-clients non-zero); the blocked clients need not belong to the attacker. Impact is availability only (assessed CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H), since exploitation requires non-default configuration, authentication, ACL-granted write access and a precisely timed memory threshold crossing; no public exploit code was identified at time of analysis and CVE-2026-130822 is not in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to Valkey 7.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4 or 9.2.0 (9.2.0-rc2 and earlier release candidates are affected); the fix is upstream PR #5435 and is documented in advisory GHSA-3885-pq5f-788j. If upgrading is not immediately possible, the vendor's primary mitigation is to set maxmemory-clients to 0, which disables client eviction entirely - the trade-off is that client memory is then no longer bounded by eviction, so maxmemory and client-output-buffer-limit must still be in place to bound it. If client eviction must be retained, reduce exposure with Valkey ACLs so untrusted users cannot write to keys other clients block on and cannot run the blocking commands (BLPOP, BRPOP, BLMOVE, BRPOPLPUSH, BLMPOP, BZPOPMIN, BZPOPMAX, BZMPOP, and XREAD/XREADGROUP with BLOCK) - this narrows the attack surface but leaves the underlying defect present until the upgrade is applied.

Affected VersionsENISA

Valkey 9.0.0 <9.0.8
Valkey 8.0.0 <8.0.13
Valkey 8.1.0 <8.1.12
Valkey 0 <7.2.16
Valkey 9.1.0 <9.1.4
Valkey 9.2.0-rc1 <9.2.0

Affected Packages

euvd valkey fix: 7.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4, 9.2.0

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 in-memory key/value datastore (a Redis fork) written in C, and the root cause is a lifetime-management error in the class described by CWE-416 (use-after-free). After a command runs, processCommand() in src/server.c calls handleClientsBlockedOnKeys() to serve clients blocked on the keys that command made ready; unblockClientOnKey() in src/blocked.c points server.current_client at each blocked client and re-executes its command through processCommandAndResetClient(), and processCommand() begins by calling evictClients(). If the replies already queued to blocked clients in the same pass push aggregate client memory over maxmemory-clients, evictClients() can select the client whose own command made the key ready - a client that is still on the call stack - and freeClient() in src/networking.c only defers freeing for server.current_client, so that client is freed immediately. commandProcessed(), updateClientMemUsageAndBucket() and beforeNextClient() then operate on the freed client, and resetClient() dereferences and frees the argument-vector pointers stored in it. The upstream fix (PR #5435) adds a processing_command flag in the ClientFlags struct, asserts it is clear on entry to processCommandAndResetClient(), sets it for the duration of the command, clears it correctly when processCommand() returns C_ERR with the client only scheduled for async close, and makes evictClients() skip such clients (counting their last_memory_usage as pending_freed so others are not evicted in their place); unprepareCommand() gains a debug assertion enforcing that callers go through processCommandAndResetClient(). A regression test in tests/unit/client-eviction.tcl reproduces the BLMPOP scenario.

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 (7fefd608-56a6-419f-a002-fd8543c0710a) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.3 MEDIUM

Authenticated user (PR:L) over the network triggers a crash only when memory crosses the eviction threshold at the right moment (AC:H); evidence shows a server crash, so A:H with C:N/I:N.

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

Primary rating from Vendor (7fefd608-56a6-419f-a002-fd8543c0710a).

CVSS VectorVendor: 7fefd608-56a6-419f-a002-fd8543c0710a

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

Lifecycle Timeline

2
Patch available
Nov 24, 2026 - 15:03 EUVD
CVE Published
Nov 24, 2026 - 14:18 cve.org
HIGH 7.5

DescriptionCVE.org

In Valkey before 7.2.16, 8.0.x before 8.0.13, 8.1.x before 8.1.12, 9.0.x before 9.0.8, 9.1.x before 9.1.4 and 9.2.0 release candidates, when client eviction is enabled (maxmemory-clients is not 0), an authenticated user who can write to a key that other clients are blocked on (for example with BLPOP, BLMPOP, BZPOPMIN or XREAD BLOCK) can trigger a use-after-free. While the clients blocked on that key are served, evictClients() can select and free the client whose command made the key ready, although that command is still executing, and the server then keeps using the freed client. The blocked clients do not have to belong to the attacker. The result is a reliable crash of the server process. Servers with the default maxmemory-clients 0 are not affected.

Technical POC Analysis

CWE-416 use-after-free in Valkey's client-eviction path.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A use-after-free vulnerability in Valkey's client-eviction path could allow an authenticated user with write access to crash the server, disrupting availability for all dependent applications and users. Exploitation requires specific non-default configuration and precise timing, making it a targeted risk rather than a broad opportunistic threat, but the potential for service downtime warrants management attention.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Disable client eviction (set maxmemory-clients to 0) if not required; restrict write access via ACLs to trusted users; monitor for server crashes and unexpected behavior.

Threat Intelligence Overview

EPSS Score
0.8%
Top 48% exploitable
Prevalence
Medium
Redis-compatible store with growing cloud/enterprise adoption, narrower footprint than Redis
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 0.8%
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
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
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.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Valkey

View all
CVE-2025-49844 CRITICAL POC
9.9 Oct 03

UAF in Redis 8.2.1 via crafted Lua scripts by authenticated users. EPSS 12.4%. Patch available.

CVE-2026-85522 MEDIUM POC
5.5 Sep 04

Out-of-bounds read in Valkey's cluster slot-migration RDB loader allows a network-positioned attacker to crash affected

CVE-2026-63639 HIGH
8.8 Aug 18

Use-after-free in Valkey's RESTORE command allows a low-privileged remote attacker to potentially execute arbitrary code

CVE-2026-136158 HIGH
8.8 Nov 24

Use-after-free in the Valkey JSON module (1.0.0 through 1.0.2, including valkey-bundle distributions that ship it) lets

CVE-2026-136156 HIGH
8.8 Nov 24

Heap buffer overflow in Valkey's cluster bus publish path allows an authenticated user who can issue PUBLISH or SPUBLISH

CVE-2026-136155 HIGH
8.8 Nov 24

Use-after-free in Valkey 9.1.0 and 9.1.1's module-based Lua scripting engine lets an authenticated user whose ACL permit

CVE-2026-56684 HIGH
7.5 Aug 18

Use-after-free in Valkey's TLS connection handler allows an authenticated remote attacker to crash the server or potenti

CVE-2025-21605 HIGH
7.5 Apr 23

Redis is an open source, in-memory database that persists on disk. Rated high severity (CVSS 7.5), this vulnerability is

CVE-2026-27623 HIGH
7.5 Feb 23

Denial of service in Valkey 9.0.0 through 9.0.2 allows unauthenticated network attackers to crash the server by exploiti

CVE-2026-21863 HIGH
7.5 Feb 23

Out-of-bounds read in Valkey clusterbus port processing allows network-adjacent attackers to crash affected systems by s

CVE-2026-136157 HIGH
7.5 Nov 24

Use-after-free in Valkey's RDMA transport lets an authenticated user crash the server process reliably by running a comm

CVE-2025-67733 HIGH
7.1 Feb 23

Response-stream injection in Valkey (the Redis fork) lets an authenticated user abuse Lua scripting commands to smuggle

Vendor StatusVendor

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