Read the docs

Valkey cluster publish integer truncation causes heap overflow

Priority MEDIUM 42CWE-122Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00969 60th percentileScored 2026-11-30
Fix Partial Valkey (Valkey): 7.2.15, 8.0.12, 8.1.11 +3Red Hat: 6 advisoriesRed Hat: 1 fixed, 4 without a fix

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

VendorProductAffected versionsFixed inStatusSource
ValkeyValkeybefore 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-rc27.2.15, 8.0.12, 8.1.11, 9.0.7, 9.1.3, 9.2.0-rc2Patch availableCNA
  • 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 Important
    Red 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 Important
    Red 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 Important
    Red 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 Important
    Red 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 Important
    Red 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 Important
    Red 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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet
Red Hat Enterprise Linux 8AffectedNo fix yet
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat Hardened ImagesAffectedNo fix yet
Red Hat Hardened ImagesFixed RHSA-2026:103160, RHSA-2026:103174, RHSA-2026:103175, RHSA-2026:103184, RHSA-2026:103193, RHSA-2026:103200

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-136156
  2. 2026-11-24 Alias added: GHSA-2hgv-4f6x-9hfg
  3. 2026-11-25 Affected versions changed · Red Hat
  4. 2026-11-25 CVSS score added · Red Hat
  5. 2026-11-25 Fix available: RHSA-2026:103174 · Red Hat
  6. 2026-11-25 Fix available: RHSA-2026:103200 · Red Hat
  7. 2026-11-25 Fix available: RHSA-2026:103193 · Red Hat
  8. 2026-11-25 Fix available: RHSA-2026:103175 · Red Hat
  9. 2026-11-25 Fix available: RHSA-2026:103184 · Red Hat
  10. 2026-11-25 Fix available: RHSA-2026:103160 · Red Hat
  11. 2026-11-25 Fix available: Red Hat Hardened Images · Red Hat
  12. 2026-11-25 Affected versions changed · Red Hat
  13. 2026-12-01 CISA SSVC decision points changed

References

  • 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