Valkey cluster publish integer truncation causes heap overflow
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 fixed, 4 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-122 and the CVSS impact.
Summary
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 before 9.2.0-rc2 truncates the length of PUBLISH and SPUBLISH cluster bus messages above 4 GiB in cluster mode. The undersized buffer then overflows on the heap (CWE-122) during the copy. An authenticated user who can publish can overwrite heap memory, which reliably crashes the server and may lead to remote code execution. Servers not in cluster mode are not affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Valkey | Valkey | before 7.2.15; 8.0.0 to before 8.0.12; 8.1.0 to before 8.1.11; 9.0.0 to before 9.0.7; 9.1.0 to before 9.1.3; 9.2.0-rc1 to before 9.2.0-rc2 | 7.2.15, 8.0.12, 8.1.11, 9.0.7, 9.1.3, 9.2.0-rc2 | Patch available | CNA |
- Valkey VendorValkey Affected before 7.2.15; 8.0.0 to before 8.0.12; 8.1.0 to before 8.1.11; 9.0.0 to before 9.0.7; 9.1.0 to before 9.1.3; 9.2.0-rc1 to before 9.2.0-rc2 Fixed in 7.2.15, 8.0.12, 8.1.11, 9.0.7, 9.1.3, 9.2.0-rc2 Patch available CNA
Remediation
Upgrade Valkey to 7.2.15, 8.0.12, 8.1.11, 9.0.7, 9.1.3 or 9.2.0-rc2. Red Hat fixes Red Hat Hardened Images RPMs in RHSA-2026:103200, RHSA-2026:103193, RHSA-2026:103184, RHSA-2026:103175, RHSA-2026:103174 and RHSA-2026:103160. Red Hat lists Red Hat Enterprise Linux 8, 9 and 10 as affected without a fix, and no fix plan is available for them.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA Valkey (Valkey) Fixed in 7.2.15, 8.0.12, 8.1.11, 9.0.7, 9.1.3, 9.2.0-rc2
Red Hat 6 advisories
- RHSA-2026:103200 Released 2026-11-24 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images valkey8.1-8.1.12-0.1.hum1@aarch64, valkey8.1-8.1.12-0.1.hum1@s390x, valkey8.1-8.1.12-0.1.hum1@src +16
- RHSA-2026:103193 Released 2026-11-24 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images valkey9.2-9.2.0-0.1.hum1@aarch64, valkey9.2-9.2.0-0.1.hum1@s390x, valkey9.2-9.2.0-0.1.hum1@src +16
- RHSA-2026:103184 Released 2026-11-24 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images valkey7.2-7.2.16-0.1.hum1@aarch64, valkey7.2-7.2.16-0.1.hum1@s390x, valkey7.2-7.2.16-0.1.hum1@src +13
Show 3 more Red Hat advisories
- RHSA-2026:103175 Released 2026-11-24 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images valkey9.0-9.0.8-0.1.hum1@aarch64, valkey9.0-9.0.8-0.1.hum1@s390x, valkey9.0-9.0.8-0.1.hum1@src +16
- RHSA-2026:103174 Released 2026-11-24 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images valkey8.0-8.0.13-0.1.hum1@aarch64, valkey8.0-8.0.13-0.1.hum1@s390x, valkey8.0-8.0.13-0.1.hum1@src +16
- RHSA-2026:103160 Released 2026-11-24 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images valkey9.1-9.1.4-0.1.hum1@aarch64, valkey9.1-9.1.4-0.1.hum1@s390x, valkey9.1-9.1.4-0.1.hum1@src +16
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat Hardened Images | Affected | No fix yet |
| Red Hat Hardened Images | Fixed | RHSA-2026:103160, RHSA-2026:103174, RHSA-2026:103175, RHSA-2026:103184, RHSA-2026:103193, RHSA-2026:103200 |
Timeline
- 2026-11-24 Threatist record created from CVE-2026-136156
- 2026-11-24 Alias added: GHSA-2hgv-4f6x-9hfg
- 2026-11-25 Affected versions changed · Red Hat
- 2026-11-25 CVSS score added · Red Hat
- 2026-11-25 Fix available: RHSA-2026:103174 · Red Hat
- 2026-11-25 Fix available: RHSA-2026:103200 · Red Hat
- 2026-11-25 Fix available: RHSA-2026:103193 · Red Hat
- 2026-11-25 Fix available: RHSA-2026:103175 · Red Hat
- 2026-11-25 Fix available: RHSA-2026:103184 · Red Hat
- 2026-11-25 Fix available: RHSA-2026:103160 · Red Hat
- 2026-11-25 Fix available: Red Hat Hardened Images · Red Hat
- 2026-11-25 Affected versions changed · Red Hat
- 2026-12-01 CISA SSVC decision points changed
References
More Valkey vulnerabilities
- TI-2026-97447 Use-after-free in Valkey JSON array mutation commands CVSS 3.1HIGH 8.8
- TI-2026-97444 Use-after-free in Valkey Lua script debugger cache CVSS 3.1HIGH 8.8
- TI-2026-95074 Use-after-free in Valkey client eviction frees a running client CVSS 3.1HIGH 7.5
- TI-2026-97446 Use-after-free in Valkey RDMA transport can crash the server CVSS 3.1HIGH 7.5
- TI-2025-31203 setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used. CVSS 3.1LOW 3.1
Sources
- CVE-2026-136156 · CVE Program
- CVE-2026-136156 · NVD
- FIRST EPSS
- GHSA-2hgv-4f6x-9hfg · GitHub Advisory Database · CC BY 4.0
- CVE-2026-136156 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences