Read the docs

Use-after-free in Valkey client eviction frees a running client

Priority LOW 34CWE-416Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 fixed, 4 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-416 and the CVSS impact.

Summary

Valkey before 7.2.16, from 8.0.0 before 8.0.13, from 8.1.0 before 8.1.12, from 9.0.0 before 9.0.8, from 9.1.0 before 9.1.4, and from 9.2.0-rc1 before 9.2.0 are affected. 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 can trigger a use-after-free (CWE-416). Client eviction can free a client whose command is still executing, and the server then keeps using that freed client, which reliably crashes the server process. Servers with the default maxmemory-clients 0 are not affected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

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.

Why it matters now

EPSS 0.00765 51st percentileScored 2026-11-30
Fix Partial Valkey (Valkey): 7.2.16, 8.0.13, 8.1.12 +3valkey-server: 9.2.0, 9.1.4, 9.0.8 +3Red Hat: 6 advisoriesRed Hat: 1 fixed, 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ValkeyValkeybefore 7.2.16; 8.0.0 to before 8.0.13; 8.1.0 to before 8.1.12; 9.0.0 to before 9.0.8; 9.1.0 to before 9.1.4; 9.2.0-rc1 to before 9.2.07.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4, 9.2.0Patch availableCNA
—valkey-server<= 9.2.0-rc2, <= 9.1.3, <= 9.0.7, <= 8.1.11, <= 8.0.12, <= 7.2.159.2.0, 9.1.4, 9.0.8, 8.1.12, 8.0.13, 7.2.16Patch availableGHSA-3885-pq5f-788j
  • Valkey VendorValkey Affected before 7.2.16; 8.0.0 to before 8.0.13; 8.1.0 to before 8.1.12; 9.0.0 to before 9.0.8; 9.1.0 to before 9.1.4; 9.2.0-rc1 to before 9.2.0 Fixed in 7.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4, 9.2.0 Patch available CNA
  • valkey-server Vendor— Affected <= 9.2.0-rc2, <= 9.1.3, <= 9.0.7, <= 8.1.11, <= 8.0.12, <= 7.2.15 Fixed in 9.2.0, 9.1.4, 9.0.8, 8.1.12, 8.0.13, 7.2.16 Patch available GHSA-3885-pq5f-788j

Remediation

Upgrade Valkey to 7.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4, or 9.2.0, and the valkey-server package to the same fixed versions. Red Hat Hardened Images are fixed by RHSA-2026:103200, RHSA-2026:103193, RHSA-2026:103184, RHSA-2026:103175, RHSA-2026:103174, and RHSA-2026:103160. Red Hat lists no available fix for Red Hat Enterprise Linux 8, 9, and 10.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

  • Fix · CNA Valkey (Valkey) Fixed in 7.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4, 9.2.0
  • Fix · GHSA-3885-pq5f-788j valkey-server Fixed in 9.2.0, 9.1.4, 9.0.8, 8.1.12, 8.0.13, 7.2.16 Advisory →

Red Hat 6 advisories

  • RHSA-2026:103200 Released 2026-11-24 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images valkey8.1-8.1.12-0.1.hum1@aarch64, valkey8.1-8.1.12-0.1.hum1@s390x, valkey8.1-8.1.12-0.1.hum1@src +16
  • RHSA-2026:103193 Released 2026-11-24 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images valkey9.2-9.2.0-0.1.hum1@aarch64, valkey9.2-9.2.0-0.1.hum1@s390x, valkey9.2-9.2.0-0.1.hum1@src +16
  • RHSA-2026:103184 Released 2026-11-24 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images valkey7.2-7.2.16-0.1.hum1@aarch64, valkey7.2-7.2.16-0.1.hum1@s390x, valkey7.2-7.2.16-0.1.hum1@src +13
Show 3 more Red Hat advisories
  • RHSA-2026:103175 Released 2026-11-24 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images valkey9.0-9.0.8-0.1.hum1@aarch64, valkey9.0-9.0.8-0.1.hum1@s390x, valkey9.0-9.0.8-0.1.hum1@src +16
  • RHSA-2026:103174 Released 2026-11-24 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images valkey8.0-8.0.13-0.1.hum1@aarch64, valkey8.0-8.0.13-0.1.hum1@s390x, valkey8.0-8.0.13-0.1.hum1@src +16
  • RHSA-2026:103160 Released 2026-11-24 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images valkey9.1-9.1.4-0.1.hum1@aarch64, valkey9.1-9.1.4-0.1.hum1@s390x, valkey9.1-9.1.4-0.1.hum1@src +16

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet
Red Hat Enterprise Linux 8AffectedNo fix yet
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat Hardened ImagesAffectedNo fix yet
Red Hat Hardened ImagesFixed RHSA-2026:103160, RHSA-2026:103174, RHSA-2026:103175, RHSA-2026:103184, RHSA-2026:103193, RHSA-2026:103200

Timeline

  1. 2026-11-19 Threatist record created from GHSA-3885-pq5f-788j
  2. 2026-11-19 Alias added: CVE-2026-130822
  3. 2026-11-20 Affected versions changed · GHSA-3885-pq5f-788j
  4. 2026-11-24 Title updated · CNA
  5. 2026-11-24 CVSS score added · CNA
  6. 2026-11-24 Weakness changed · CNA
  7. 2026-11-24 Fix available: Valkey/[email protected], Valkey/[email protected], Valkey/[email protected] +3 · CNA
  8. 2026-11-24 3 new references · CNA
  9. 2026-11-25 Affected versions changed · Red Hat
  10. 2026-11-25 CVSS score added · Red Hat
  11. 2026-11-25 Fix available: RHSA-2026:103174 · Red Hat
  12. 2026-11-25 Fix available: RHSA-2026:103200 · Red Hat
  13. 2026-11-25 Fix available: RHSA-2026:103193 · Red Hat
  14. 2026-11-25 Fix available: RHSA-2026:103175 · Red Hat
  15. 2026-11-25 Fix available: RHSA-2026:103184 · Red Hat
  16. 2026-11-25 Fix available: RHSA-2026:103160 · Red Hat
  17. 2026-11-25 Fix available: Red Hat Hardened Images · Red Hat
  18. 2026-11-25 Affected versions changed · Red Hat

References

  • TI-2026-97447 Use-after-free in Valkey JSON array mutation commands CVSS 3.1HIGH 8.8
  • TI-2026-97445 Valkey cluster publish integer truncation causes heap overflow CVSS 3.1HIGH 8.8
  • TI-2026-97444 Use-after-free in Valkey Lua script debugger cache CVSS 3.1HIGH 8.8
  • TI-2026-97446 Use-after-free in Valkey RDMA transport can crash the server CVSS 3.1HIGH 7.5
  • TI-2025-31203 setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used. CVSS 3.1LOW 3.1

Sources