Valkeyの脆弱性、認証済みユーザーにサーバーを停止され遠隔からコードを実行されるおそれ
Summary
Valkey 9.1.0と9.1.1のLuaスクリプトデバッガーに解放後使用の脆弱性があり、認証を受けたユーザーがサーバーを確実に停止させられるほか、遠隔からコードを実行されるおそれがあります。CVSSは8.8です。9.1.2で修正されているため、9.1.2以降へ更新してください。8.0.xと8.1.xは影響を受けません。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Valkey 9.1.0と9.1.1のLuaスクリプトデバッガーに解放後使用の脆弱性があり、認証を受けたユーザーがサーバーを確実に停止させられるほか、遠隔からコードを実行されるおそれがあります。CVSSは8.8です。9.1.2で修正されているため、9.1.2以降へ更新してください。8.0.xと8.1.xは影響を受けません。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ValkeyValkey |
≥ 9.1.0, < 9.1.2→ 9.1.2 |
9.1.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-136155 valkey Fix available
- Ubuntu UBUNTU-CVE-2026-136155 valkey No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- REDHAT Red Hat
- web github.com