CVE-2026-86227valkey-io valkey kvstore.c kvstoreGetHashtable out-of-bounds
A weakness has been identified in valkey-io valkey up to 9.0.5/9.1.1. This affects the function kvstoreGetHashtable of the file src/kvstore.c. This manipulation of the argument didx causes out-of-bounds read. It is possible to initiate the attack remotely. The attack is considered to have high complexity. It is indicated that the exploitability is difficult. The exploit has been made available to the public and could be used for attacks. Patch name: 4691888e7fab3df128f0bde5750c9fde2ae552fa. To fix this issue, it is recommended to deploy a patch. Exploitation requires cluster mode plus attacker-controlled dump.rdb at startup (data-dir write access, replication feed, or a stored crafted RDB) - an attacker-position DoS at boot, not network pre-auth. The issue report was closed stating it "is worth fixing for the sake of memory safety… but I don't think it meets our bar for a security disclosure."
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has 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-86227 | |
| Ubuntu 26.04 | valkey | Under investigation | UBUNTU-CVE-2026-86227 | |
| Ubuntu 24.04 | valkey | Fix pending | UBUNTU-CVE-2026-86227 | |
| Debian 14 | valkey | Fixed | 9.1.2-1 | DEBIAN-CVE-2026-86227 |
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.0.0, 9.0.1, 9.0.2, 9.0.3, 9.0.4, 9.0.5
Vendor advisories:
- https://github.com/valkey-io/valkey/pull/4229 (patch)
- https://github.com/valkey-io/valkey/commit/4691888e7fab3df128f0bde5750c9fde2ae552fa (patch)
References
- https://vuldb.com/vuln/399380
- https://vuldb.com/vuln/399380/cti
- https://vuldb.com/cve/CVE-2026-86227
- https://vuldb.com/submit/897659
- https://github.com/valkey-io/valkey/issues/4222
- https://github.com/valkey-io/valkey/pull/4229
- https://github.com/user-attachments/files/30195539/RDB.zip
- https://github.com/valkey-io/valkey/commit/4691888e7fab3df128f0bde5750c9fde2ae552fa
- 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.