CVE-2026-21863: Valkey is a distributed key-value database.
High CVSS 7.5
- CVE id
- CVE-2026-21863
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Valkey Runtimes and servers |
< 7.2.12 >= 8.0.0, < 8.0.7 >= 8.1.0, < 8.1.6 >= 9.0.0, < 9.0.2 |
7.2.12, 8.0.7, 8.1.6, 9.0.2 |
How to fix it
Upgrade Valkey to the fixed release of the line you run: 7.2.12, 8.0.7, 8.1.6, 9.0.2.
valkey-server --version
- Install the patched Valkey release of your series (the valkey image tag).
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2026-21863 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-21863
- Web: https://github.com/valkey-io/valkey/security/advisories/GHSA-c677-q3wr-gggq
- Web: https://access.redhat.com/errata/RHSA-2026:3443
- Web: https://access.redhat.com/errata/RHSA-2026:3507
- Web: https://access.redhat.com/errata/RHSA-2026:5445
- Web: https://access.redhat.com/errata/RHSA-2026:8753
- Web: https://access.redhat.com/security/cve/CVE-2026-21863
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=2442026
- Web: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21863.json
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.