CVE-2026-82631valkey-io valkey Blocked-on-keys blocked.c handleClientsBlockedOnKey use after free
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
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | valkey | Fix pending | UBUNTU-CVE-2026-82631 | |
| Ubuntu 26.04 | valkey | Under investigation | UBUNTU-CVE-2026-82631 | |
| Ubuntu 24.04 | valkey | Fix pending | UBUNTU-CVE-2026-82631 | |
| Debian 14 | redis | Fix pending | DEBIAN-CVE-2026-82631 | |
| Debian 14 | valkey | Fixed | 9.1.2-1 | DEBIAN-CVE-2026-82631 |
| Debian 13 | redis | Fix pending | DEBIAN-CVE-2026-82631 | |
| Debian 13 | valkey | Fixed | 8.1.1+dfsg1-3+deb13u3 | DEBIAN-CVE-2026-82631 |
| Debian 12 | redis | Fix pending | DEBIAN-CVE-2026-82631 | |
| Red Hat Enterprise Linux 10 | valkey | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | valkey-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | valkey-rdma | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | valkey | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | valkey-devel | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- valkey-io valkey: affected: 9.1.0
Vendor advisories:
- https://github.com/valkey-io/valkey/pull/4212 (patch)
- https://github.com/valkey-io/valkey/commit/b2fb0e13f5b4c8c2fb63dcfc2c37a067a0d6d20b (patch)
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/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.