Valkey vulnerabilities
In the last 30 days, 5 Valkey vulnerabilities were published: 0 critical, 0 actively exploited. Most common weakness: use after free (CWE-416).
CVSS score: 8.8 Severity: High Identifier: CVE-2026-136158 Valkey JSON: Use-after-free in array mutation commands through a recursive JSONPath Package: valkey json fixed in 1.0.3 Published Published
In Valkey JSON 1.0.0 through 1.0.2, a recursive JSONPath expression such as $..* returns both an array and elements nested inside it. The size-changing mutators (JSON.ARRAPPEND, JSON.ARRINSERT, JSON.ARRPOP, JSON.ARRTRIM and JSON.CLEAR) process the ancestor first, which can reallocate its element buffer and free the old storage while the descendant entries in the result set still point into it; the module then writes through those dangling pointers. An authenticated user who can run these commands can use this to reliably crash the server, and it has been developed into remote code execution as the user the server runs as. Servers that do not load the JSON module, including through valkey-bundle, are not affected.
- Exploitation
- No known exploitation
- EPSS
- 1.2% chance of exploitation in the next 30 days, higher than 67.1% of CVEs
- CVSS
- 8.8 out of 10 · source NVD (7fefd608-56a6-419f-a002-fd8543c0710a)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Versions
- 1.0.0 → <1.0.3 · fixed in 1.0.3
- Weakness
- CWE-416
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 24, 2026 · first seen here 4 h ago
CVSS score: 8.8 Severity: High Identifier: CVE-2026-136156 Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow Package: valkey fixed in 9.2.0-rc2 Published Published
In Valkey before 7.2.15, 8.0.x before 8.0.12, 8.1.x before 8.1.11, 9.0.x before 9.0.7, 9.1.x before 9.1.3 and 9.2.0-rc1, running in cluster mode, clusterCreatePublishMsgBlock computes the length of the cluster bus message for a PUBLISH or SPUBLISH as a size_t but passes it to createClusterMsgSendBlock as a uint32_t. When the channel and message together exceed 4 GiB, the length is truncated, a buffer far smaller than the message is allocated, and the full channel and message are then copied into it. An authenticated user who can publish, for example by building the arguments in a script, can overflow the heap with attacker-controlled bytes. This reliably crashes the server and may lead to remote code execution. Servers that do not run in cluster mode are not affected.
- Exploitation
- No known exploitation
- EPSS
- 0.97% chance of exploitation in the next 30 days, higher than 60.5% of CVEs
- CVSS
- 8.8 out of 10 · source NVD (7fefd608-56a6-419f-a002-fd8543c0710a)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Versions
- 0 → <7.2.15; 8.0.0 → <8.0.12; 8.1.0 → <8.1.11; 9.0.0 → <9.0.7; 9.1.0 → <9.1.3; 9.2.0-rc1 → <9.2.0-rc2 · fixed in 9.2.0-rc2
- Weakness
- CWE-122, CWE-197
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 24, 2026 · first seen here 4 h ago
CVSS score: 8.8 Severity: High Identifier: CVE-2026-136155 Valkey: Use-after-free of the Lua interpreter state through the script debugger's command cache Package: valkey fixed in 9.1.2 Published Published
In Valkey 9.1.0 and 9.1.1, the Lua script debugger builds its command table once and caches it with a pointer to the Lua interpreter state that was current at the time. SCRIPT FLUSH ASYNC recreates the scripting engine and frees the previous interpreter state without invalidating that cache, so the next debugger command dereferences freed memory. An authenticated user who can run scripting commands can use this to reliably crash the server, and by reclaiming the freed heap chunk with attacker-controlled bytes can escalate it to control of an indirect call, which may lead to remote code execution. The fix also addresses a second use-after-free in ldbLogStackValue. Valkey 8.0.x and 8.1.x use the previous debugger and are not affected.
- Exploitation
- No known exploitation
- EPSS
- 0.95% chance of exploitation in the next 30 days, higher than 59.7% of CVEs
- CVSS
- 8.8 out of 10 · source NVD (7fefd608-56a6-419f-a002-fd8543c0710a)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Versions
- 9.1.0 → <9.1.2 · fixed in 9.1.2
- Weakness
- CWE-416
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 24, 2026 · first seen here 4 h ago
CVSS score: 7.5 Severity: High Identifier: CVE-2026-136157 Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed Package: valkey fixed in 9.1.2 Published Published
In Valkey 8.0.x before 8.0.11, 8.1.x before 8.1.10, 9.0.x before 9.0.6 and 9.1.x before 9.1.2, the RDMA transport's pending-data handler walks its connection list with an iterator that caches the next entry. A command processed from inside that loop, such as CLIENT KILL, can synchronously free another client's connection, and closing an RDMA connection did not remove it from the pending list, so the handler then uses freed memory. An authenticated user can use this to reliably crash the server, and the freed heap chunk can be reclaimed with attacker-influenced bytes. Only servers built with RDMA support (USE_RDMA) and configured with an RDMA listener are affected.
- Exploitation
- No known exploitation
- EPSS
- 0.43% chance of exploitation in the next 30 days, higher than 29.3% of CVEs
- CVSS
- 7.5 out of 10 · source NVD (7fefd608-56a6-419f-a002-fd8543c0710a)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Versions
- 8.0.0 → <8.0.11; 8.1.0 → <8.1.10; 9.0.0 → <9.0.6; 9.1.0 → <9.1.2 · fixed in 9.1.2
- Weakness
- CWE-416
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 24, 2026 · first seen here 4 h ago
CVSS score: 7.5 Severity: High Identifier: CVE-2026-130822 Valkey: Use-after-free when client eviction frees the client whose command is still executing Package: valkey fixed in 9.2.0 Published Published
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.
- Exploitation
- No known exploitation
- EPSS
- 0.76% chance of exploitation in the next 30 days, higher than 51.7% of CVEs
- CVSS
- 7.5 out of 10 · source NVD (7fefd608-56a6-419f-a002-fd8543c0710a)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Versions
- 0 → <7.2.16; 8.0.0 → <8.0.13; 8.1.0 → <8.1.12; 9.0.0 → <9.0.8; 9.1.0 → <9.1.4; 9.2.0-rc1 → <9.2.0 · fixed in 9.2.0
- Weakness
- CWE-416
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 24, 2026 · first seen here 4 h ago