Out-of-bounds Read Affecting valkey package, versions <8.1.6-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.02% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE322-VALKEY-15907843
  • published5 Apr 2026
  • disclosed23 Feb 2026

Introduced: 23 Feb 2026

CVE-2026-21863  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Alpine:3.22 valkey to version 8.1.6-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream valkey package and not the valkey package as distributed by Alpine. See How to fix? for Alpine:3.22 relevant fixed versions and status.

Valkey is a distributed key-value database. Prior to versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12, a malicious actor with access to the Valkey clusterbus port can send an invalid packet that may cause an out bound read, which might result in the system crashing. The Valkey clusterbus packet processing code does not validate that a clusterbus ping extension packet is located within buffer of the clusterbus packet before attempting to read it. Versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12 fix the issue. As an additional mitigation, don't expose the cluster bus connection directly to end users, and protect the connection with its own network ACLs.

CVSS Base Scores

version 3.1