CVE-2026-136155

Source
https://cve.org/CVERecord?id=CVE-2026-136155
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-136155.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-136155
Aliases
  • GHSA-fq2f-crmw-q97r
Published
2026-11-24T14:06:27Z
Modified
2026-11-24T16:00:09Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Valkey: Use-after-free of the Lua interpreter state through the script debugger's command cache
Details

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.

Database specific
{
    "cna_assigner":  "Akrites",
    "cwe_ids":  [
        "CWE-416"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136155.json"
}
References

Affected packages

Git / github.com/valkey-io/valkey

Affected ranges

Type
GIT
Repo
https://github.com/valkey-io/valkey
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "9.1.0"
                },
                {
                    "fixed":  "9.1.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

9.*
9.1.0
9.1.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-136155.json"