Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Valkey Client Eviction Use-After-Free (CVE-2026-130822)

CVE-2026-130822 is a use-after-free in Valkey servers that have client eviction enabled.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
CVE ID
CVE-2026-130822
Vendor
Valkey
Affected Product
Valkey Server
Exploitation
Not confirmed
Published
2026-11-19

The Valkey advisory says an authenticated user can trigger it by writing to a key on which other clients are blocked. Those blocked clients need not belong to the user. The confirmed outcome is a reliable crash of the server process.The default maxmemory-clients value is 0, which disables client eviction and leaves the server outside this flaw's stated conditions. The relevant exposure is therefore a running affected version with a nonzero client eviction limit and a user able to write to a blocked key.

What it allows

How Does CVE-2026-130822 Crash Valkey?

Valkey serves clients waiting on a key after another client's command makes that key ready. During that work, a blocked client's command can invoke client eviction again. If earlier replies push client memory above maxmemory-clients, eviction can select the original client while its command is still executing.

The advisory says Valkey frees that original client immediately because the deferred-free guard applies only to the current blocked client. Later command processing still accesses the freed client, creating the use-after-free and a reliable process crash. This sequence requires an authenticated user with permission to write to the key; it does not require control of the waiting clients.

What Does the Evidence Say About Exploitation?

CISA's Known Exploited Vulnerabilities catalog version 2026.11.24 did not list CVE-2026-130822. That dated catalog status does not determine whether an individual server is safe.

Prioritize a server where client eviction is enabled and untrusted users can write to keys used by blocking commands. Use the vulnerability prioritization process to record those conditions. For product context, see the vulnerability intelligence platform; use the Valkey advisory for this flaw's fix thresholds.

Who is affected

Which Valkey Versions and Configurations Are Affected?

Valkey lists the 7.2 branch through 7.2.15, 8.0 through 8.0.12, 8.1 through 8.1.11, 9.0 through 9.0.7, and 9.1 through 9.1.3 as affected. The advisory also lists 9.2.0 release candidates through rc2. Its patched releases are 7.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4, and 9.2.0, respectively.

These version ranges matter only when client eviction is enabled through a nonzero maxmemory-clients setting. The default value of 0 is outside the advisory's affected configuration. Check the running release and effective configuration on each server, including replicas and instances with separate configuration.

If an upgrade must wait, the vendor says setting maxmemory-clients to 0 disables the affected eviction path. Keep client-output-buffer-limit and maxmemory bounds in place when using that mitigation. If eviction must remain enabled, restrict untrusted users' write access to blocked keys and their permission to run blocking commands.

After applying the branch-specific fix, follow the patch management workflow to confirm the running version. Recheck the effective client eviction setting and relevant ACLs, then verify that the service remains healthy under normal workloads.

Timeline

  1. 2026-11-19

    Valkey published GHSA-3885-pq5f-788j and listed the patched releases.

  2. 2026-11-24

    NVD published the CVE record; CISA KEV catalog version 2026.11.24 did not list the CVE.

What to do

  1. Identify exposed servers

    Record the running Valkey version and effective maxmemory-clients value on each instance. Check which authenticated users can write to keys used by blocking commands.

  2. Install the matching fixed release

    Upgrade 7.2 to at least 7.2.16, 8.0 to 8.0.13, 8.1 to 8.1.12, 9.0 to 9.0.8, or 9.1 to 9.1.4. Move affected 9.2 release candidates to 9.2.0.

  3. Verify the running fix

    Confirm each server reports its intended patched version after restart or rollout. Review service health and the effective client eviction configuration.

  4. Reduce exposure before upgrade

    If operationally feasible, set maxmemory-clients to 0 while retaining client-output-buffer-limit and maxmemory safeguards. Otherwise, use ACLs to limit untrusted write access to blocked keys and blocking commands.

  5. Review availability signals

    Correlate unexpected Valkey process crashes with client eviction settings and authorized writes to keys used by blocking commands. Treat this as an investigation lead, not automatic proof of exploitation.

What Brandefense can do

Frequently Asked Questions

Can a server with the default client eviction setting be affected?

The Valkey advisory says servers with maxmemory-clients set to 0, the default, are not affected. Confirm the effective setting on the running instance.

Does the attacker need to own the blocked clients?

No. Valkey says the blocked clients can belong to other users, but the triggering user must be authenticated and able to write to the key they await.

What is the confirmed result of CVE-2026-130822?

The Valkey advisory confirms a reliable server process crash. Its CVSS vector does not, by itself, document a separate data disclosure or modification incident.

Which Valkey versions contain the fix?

Valkey lists 7.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4, and 9.2.0 as patched releases. Select the release for the installed branch and verify the running version.

Sources

  1. Valkey Client Eviction Use-After-Free AdvisoryValkey
  2. NVD CVE-2026-130822 RecordNIST
  3. Known Exploited Vulnerabilities CatalogCISA
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →