guest@ro0t: ~ — bash theme: [green] [amber]

guest@ro0t:~$ echo $MOTD

notes, code and logs from the superuser

guest@ro0t:~/cve$ cat cve-2026-136155.md

[HIGH 8.8] # CVE-2026-136155: In Valkey 9.1.0 and 9.1.1, the Lua script debugger builds its command table once and caches it with a pointer...

by darthoreo · · in cve/

#cwe-416 #high

CVE-2026-136155 · severity: HIGH · CVSS 8.8 (v3.1)

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

  • status: Awaiting Analysis
  • published: 2026-11-24 10:17 EST
  • last modified: 2026-11-24 10:19 EST
  • weakness: CWE-416
  • vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References

-- EOF --

[ cd .. ]