Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136155: high-severity vulnerability (CVSS 8.8) in Valkey Valkey.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.8.
Affected products and versions
Valkey Valkey >= 9.1.0, < 9.1.2
| Product | Versions | Fixed in |
|---|---|---|
| Valkey Valkey | >= 9.1.0, < 9.1.2 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/valkey-io/valkey/security/advisories/GHSA-fq2f-crmw-q97r — CVE Program
- https://github.com/valkey-io/valkey/pull/4574 — CVE Program
Weaknesses (CWE): CWE-416
Relevant change history
Published
Preliminary advisory published.