CVE-2026-86227

Summary

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."

Affected Software

VendorProductVersion RangeStatus
valkey-iovalkey9.0.0affected
valkey-iovalkey9.0.1affected
valkey-iovalkey9.0.2affected
valkey-iovalkey9.0.3affected
valkey-iovalkey9.0.4affected
valkey-iovalkey9.0.5affected
valkey-iovalkey9.1.0affected
valkey-iovalkey9.1.1affected

Weaknesses

  • CWE-125: Out-of-Bounds Read
  • CWE-119: Memory Corruption

References