StraitOfVuln
Latest / CVE-2026-136155

CVE-2026-136155

HighCVSS 8.8 (v3.1)Awaiting Analysis
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-136155
Published / updated
24 Nov 2026, 15:17 UTC · last modified 01 Dec 2026, 20:18 UTC
Severity
HIGH
CVSS score
8.8 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · Attack vector: Network
Affected vendor
Valkey
Affected products
Valkey
Affected versions
Valkey: 9.1.0 to before 9.1.2
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Valkey 9.1.2
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.95% probability of exploitation in the next 30 days · 62% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
7fefd608-56a6-419f-a002-fd8543c0710a