CVE-2026-21863
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedValkey 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA missing bounds check in Valkey's clusterbus packet processing allows an attacker with access to the clusterbus port to send a malformed packet that triggers an out-of-bounds read. The code fails to validate that a clusterbus ping extension packet is within the buffer boundaries before attempting to read it, leading to potential denial of service via crash.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 7.2.12>= 8.0.0, < 8.0.7>= 8.1.0, < 8.1.6>= 9.0.0, < 9.0.2CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Valkey versionRun 'valkey-server --version' or check the package manager for installed Valkey package versionAffected if Version is earlier than 7.2.12, 8.0.7, 8.1.6, or 9.0.2 (or falls in the ranges <7.2.12, >=8.0.0 <8.0.7, >=8.1.0 <8.1.6, or >=9.0.0 <9.0.2)
-
Verify if Valkey cluster mode is enabledCheck configuration file or running process for 'cluster-enabled yes' setting, or run 'valkey-cli cluster info' if cluster is activeAffected if Cluster mode is enabled and the version is vulnerable
-
Confirm clusterbus port accessibilityReview network configuration to determine if the clusterbus port (default 16379) is exposed to untrusted network segments or accessible from outside the trusted environmentAffected if Clusterbus port is reachable from untrusted networks or external actors
-
Review clusterbus packet handling logsCheck Valkey logs for crash events, assertion failures, or out-of-bounds read errors related to clusterbus ping extensionsAffected if Logs show crashes or errors during clusterbus packet processing
User is affected if running a vulnerable Valkey version with cluster mode enabled and the clusterbus port is accessible to untrusted actors, as the out-of-bounds read can be triggered by malicious clusterbus packets.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped7.2.128.0.78.1.6
Upgrade Valkey to version 9.0.2, 8.1.6, 8.0.7, or 7.2.12 or later. Additionally, restrict network access to the clusterbus port using firewalls or ACLs and avoid exposing it directly to end users.
Upgrade to 7.2.12 (for 7.x), 8.0.7 (for 8.0.x), 8.1.6 (for 8.1.x), or 9.0.2 (for 9.0.x) - prefer the latest major version branch that fits your deployment
- 1. Identify the currently running Valkey version using `valkey-server --version` or `INFO server` command
- 2. Determine which upgrade path applies based on current version (7.x -> 7.2.12, 8.0.x -> 8.0.7, 8.1.x -> 8.1.6, 9.0.x -> 9.0.2)
- 3. Schedule a maintenance window for the upgrade
- 4. Back up the Valkey data directory and configuration files
- 5. Stop the Valkey service
- 6. Install the appropriate fixed version (7.2.12, 8.0.7, 8.1.6, or 9.0.2) using the package manager or compilation
- 7. Verify the new version is running with `valkey-server --version`
- 8. As an additional mitigation, ensure the clusterbus port is not exposed directly to end users and apply network ACLs to restrict access
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-21863 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-21863 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data