CVE-2026-136155 Valkey: Use-after-free of the Lua interpreter state through the script debugger's command cache

Published Updated

CVSS score

High

8.8/10

CVSS 3.1 · Scored by Akrites Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Over the network
Any signed-in user, no user action

What is CVE-2026-136155?

CVE-2026-136155 is a high-severity vulnerability in Valkey, published on 24 Nov 2026.

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

Weakness: CWE-416

How severe is CVE-2026-136155?

CVE-2026-136155 scores 8.8 out of 10 under CVSS 3.1, which is high severity. It was scored by Akrites.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Which versions are affected by CVE-2026-136155?

How do I fix CVE-2026-136155?

Upgrade to a fixed version.

Is CVE-2026-136155 being exploited?

There is no known exploitation of CVE-2026-136155 in the wild and no public exploit code.

Sources

Also known as CLEANSTART-2026-TY09591, DEBIAN-CVE-2026-136155, DHI-4dan-tsbk-23va-fztt, DHI-5vc4-422t-xsfy-7efw, GHSA-89j7-2m74-w72r, GHSA-fq2f-crmw-q97r and 1 more.

Is CVE-2026-136155 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free