DHI-qpdo-m6p4-pmn7-dra7

Source
https://scout.docker.com/v/DHI-qpdo-m6p4-pmn7-dra7
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-qpdo-m6p4-pmn7-dra7.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-qpdo-m6p4-pmn7-dra7
Upstream
Published
2026-11-26T12:50:47Z
Modified
2026-11-26T13:00:12Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
## Impact
Details

Impact

An authenticated user who can publish to a channel on a server running in cluster mode can make the server allocate a heap buffer far smaller than the message it is about to copy into it, and then write past the end of that buffer with attacker-controlled bytes. This reliably crashes the server process, and because the overflowing bytes are chosen by the attacker, it may be possible to escalate it to remote code execution running as the user the server runs as.

This issue affects Valkey 7.2, 8.0, 8.1, 9.0, 9.1 and 9.2 running in cluster mode. Servers that do not have cluster mode enabled are not affected.

Details

When a node propagates a PUBLISH or SPUBLISH to the rest of the cluster, clusterCreatePublishMsgBlock in src/cluster_legacy.c (src/cluster.c on 7.2) computes the length of the cluster bus message as a size_t, but passes it to createClusterMsgSendBlock, which takes a uint32_t. When the channel and message together exceed UINT32_MAX, the length is silently truncated and a buffer far smaller than the message is allocated. The two memcpy calls that follow copy the full channel and message into it. Both the regular and the light cluster bus header paths are affected, as are the module publish APIs.

Building a channel and message this large requires more than 4 GiB of memory. With the default proto-max-bulk-len of 512 MB, a client cannot send arguments that large directly, but a script can construct them on the server.

The cluster bus cannot represent a message of this size, so the fix validates the complete serialized length before any 32-bit conversion or allocation. PUBLISH and SPUBLISH now reply with an error, and the message is neither published locally nor propagated.

Mitigation

You can mitigate this issue by using Valkey ACLs to restrict the scripting commands (EVAL, EVALSHA, EVAL_RO, EVALSHA_RO, FCALL, FCALL_RO and FUNCTION) if your application does not intend to use them, and by not raising proto-max-bulk-len above its default.

Credits

The defect was reported by Nenad Stojanovski working with Trend Micro Zero Day Initiative (ZDI-CAN-28318). The fix was authored by https://github.com/roshkhatri (#5030).

References

Affected packages

Docker Hardened Images:Debian:13
valkey-7.2

Package

Name
valkey-7.2
Purl
pkg:deb/dhi/valkey-7.2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.2.14-0

Affected versions

7.*
7.2.14-0
7.2.15-0
7.2.16-0
7.2.16-1

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-qpdo-m6p4-pmn7-dra7.json"
valkey-8.0

Package

Name
valkey-8.0
Purl
pkg:deb/dhi/valkey-8.0

Affected ranges

Type
ECOSYSTEM
Events
Introduced
8.0.10-0

Affected versions

8.*
8.0.10-0
8.0.11-0
8.0.12-0
8.0.13-0
8.0.13-1

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-qpdo-m6p4-pmn7-dra7.json"
valkey-8.1

Package

Name
valkey-8.1
Purl
pkg:deb/dhi/valkey-8.1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
8.1.9-0

Affected versions

8.*
8.1.9-0
8.1.10-0
8.1.11-0
8.1.12-0
8.1.12-1

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-qpdo-m6p4-pmn7-dra7.json"
valkey-9.1

Package

Name
valkey-9.1
Purl
pkg:deb/dhi/valkey-9.1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
9.1.1-0

Affected versions

9.*
9.1.1-0
9.1.2-0
9.1.3-0
9.1.4-0
9.1.4-1

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-qpdo-m6p4-pmn7-dra7.json"