Valkeyのクラスター機能に heap バッファオーバーフローの脆弱性、遠隔でコードを実行されるおそれ
Summary
Valkeyのクラスターモードで、PUBLISHやSPUBLISHの処理中に整数の切り捨てが起き、ヒープバッファオーバーフローが発生する脆弱性です。認証済みのユーザーがチャネルとメッセージを合わせて4GiBを超えるデータを送ると、サーバーがクラッシュし、リモートでコードが実行されるおそれがあります。影響するのは7.2.15より前、8.0.12より前、8.1.11より前、9.0.7より前、9.1.3より前、9.2.0-rc2より前のバージョンです。修正版の7.2.15、8.0.12、8.1.11、9.0.7、9.1.3、9.2.0-rc2への更新が必要です。
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のクラスターモードで、PUBLISHやSPUBLISHの処理中に整数の切り捨てが起き、ヒープバッファオーバーフローが発生する脆弱性です。認証済みのユーザーがチャネルとメッセージを合わせて4GiBを超えるデータを送ると、サーバーがクラッシュし、リモートでコードが実行されるおそれがあります。影響するのは7.2.15より前、8.0.12より前、8.1.11より前、9.0.7より前、9.1.3より前、9.2.0-rc2より前のバージョンです。修正版の7.2.15、8.0.12、8.1.11、9.0.7、9.1.3、9.2.0-rc2への更新が必要です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ValkeyValkey |
< 7.2.15→ 7.2.15 ≥ 8.0.0, < 8.0.12→ 8.0.12 ≥ 8.1.0, < 8.1.11→ 8.1.11 ≥ 9.0.0, < 9.0.7→ 9.0.7 ≥ 9.1.0, < 9.1.3→ 9.1.3 ≥ 9.2.0-rc1, < 9.2.0-rc2→ 9.2.0-rc2 |
7.2.15 8.0.12 8.1.11 9.0.7 9.1.3 9.2.0-rc2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-136156 valkey Fix available
- Ubuntu UBUNTU-CVE-2026-136156 valkey No fixed version in this record
Original description The description as published by the source.
In Valkey before 7.2.15, 8.0.x before 8.0.12, 8.1.x before 8.1.11, 9.0.x before 9.0.7, 9.1.x before 9.1.3 and 9.2.0-rc1, running in cluster mode, clusterCreatePublishMsgBlock computes the length of the cluster bus message for a PUBLISH or SPUBLISH as a size_t but passes it to createClusterMsgSendBlock as a uint32_t. When the channel and message together exceed 4 GiB, the length is truncated, a buffer far smaller than the message is allocated, and the full channel and message are then copied into it. An authenticated user who can publish, for example by building the arguments in a script, can overflow the heap with attacker-controlled bytes. This reliably crashes the server and may lead to remote code execution. Servers that do not run in cluster mode 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