8.8
HIGH CVSS 3.1
CVE-2026-136155
Valkey: Use-after-free of the Lua interpreter state through the script debugger's command cache
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.

INFO

Published Date :

Nov. 24, 2026, 3:17 p.m.

Last Modified :

Nov. 24, 2026, 3:19 p.m.

Remotely Exploit :

Yes !

Source :

7fefd608-56a6-419f-a002-fd8543c0710a
Affected Products

The following products are affected by CVE-2026-136155 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Lfprojects valkey
1 Valkey valkey
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 7fefd608-56a6-419f-a002-fd8543c0710a
CVSS 3.1 HIGH MITRE-CVE
Solution
Update Valkey to a patched version to fix memory corruption vulnerabilities.
  • Update Valkey to version 9.1.2 or later.
  • Apply vendor-supplied patches for security.
  • Review and secure scripting command access.
  • Monitor for further security advisories.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-136155.

URL Resource
https://github.com/valkey-io/valkey/pull/4574
https://github.com/valkey-io/valkey/security/advisories/GHSA-fq2f-crmw-q97r
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-136155 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-136155 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-136155 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-136155 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 7fefd608-56a6-419f-a002-fd8543c0710a

    Nov. 24, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-416
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/136xxx/CVE-2026-136155.json">CVE-2026-136155</a>
    Added Reference https://github.com/valkey-io/valkey/pull/4574
    Added Reference https://github.com/valkey-io/valkey/security/advisories/GHSA-fq2f-crmw-q97r
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.