Security mailing lists by PureSourceCode

CVE-2026-136155

HIGH 8.8CVSS 3.1

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

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.

Published
24 Nov 2026
Last modified
1 Dec 2026
Assigned by
7fefd608-56a6-419f-a002-fd8543c0710a
NVD status
Awaiting Analysis
Weakness
CWE-416
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 7fefd608-56a6-419f-a002-fd8543c0710a (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE List Akrites CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Valkey Valkey >= 9.1.0, < 9.1.2 9.1.2

References

History

  • 1 Dec 2026 20:28 UTC · CVE List: updated (other details)
  • 1 Dec 2026 20:28 UTC · NVD: updated (other details)
  • 1 Dec 2026 05:40 UTC · CVE List: updated (other details)
  • 1 Dec 2026 05:40 UTC · NVD: updated (other details)
  • 25 Nov 2026 20:36 UTC · CVE List: first stored (published 24 Nov 2026)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 24 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.