CVE-2026-63639: CWE-416: Use After Free in valkey-io valkey
Valkey, a distributed key-value database, has a use-after-free vulnerability in its RESTORE command prior to versions 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1. The issue arises from malformed RDB stream payloads that assign a single Pending Entry List NACK to multiple consumers during stream consumer-group deserialization. This can cause a use-after-free condition when one consumer is deleted while another still references the shared NACK, potentially allowing remote code execution. The vulnerability is fixed in the specified versions.
AI Analysis
Technical Summary
CVE-2026-63639 describes a use-after-free vulnerability (CWE-416) in valkey-io's valkey database. The flaw occurs in the RESTORE command when processing a malformed RDB stream payload that assigns one Pending Entry List NACK to multiple consumers during stream consumer-group deserialization. This shared reference can lead to a use-after-free if one consumer is deleted while others still reference the NACK, potentially enabling remote code execution. The vulnerability affects multiple version branches prior to 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1, where it has been fixed.
Potential Impact
Successful exploitation can lead to remote code execution due to the use-after-free condition in the RESTORE command. The vulnerability impacts confidentiality, integrity, and availability, as indicated by the CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
Mitigation Recommendations
A fix is available in valkey versions 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1. Users should upgrade to these versions or later to remediate the vulnerability. No additional mitigation guidance is provided in the vendor advisory.
CVE-2026-63639: CWE-416: Use After Free in valkey-io valkey
Description
Valkey, a distributed key-value database, has a use-after-free vulnerability in its RESTORE command prior to versions 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1. The issue arises from malformed RDB stream payloads that assign a single Pending Entry List NACK to multiple consumers during stream consumer-group deserialization. This can cause a use-after-free condition when one consumer is deleted while another still references the shared NACK, potentially allowing remote code execution. The vulnerability is fixed in the specified versions.
CVSS v3.1
Score 8.8high
Affected software
pkg:github/valkey-io/valkeyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-63639 describes a use-after-free vulnerability (CWE-416) in valkey-io's valkey database. The flaw occurs in the RESTORE command when processing a malformed RDB stream payload that assigns one Pending Entry List NACK to multiple consumers during stream consumer-group deserialization. This shared reference can lead to a use-after-free if one consumer is deleted while others still reference the NACK, potentially enabling remote code execution. The vulnerability affects multiple version branches prior to 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1, where it has been fixed.
Potential Impact
Successful exploitation can lead to remote code execution due to the use-after-free condition in the RESTORE command. The vulnerability impacts confidentiality, integrity, and availability, as indicated by the CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
Mitigation Recommendations
A fix is available in valkey versions 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1. Users should upgrade to these versions or later to remediate the vulnerability. No additional mitigation guidance is provided in the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-17T14:11:15.482Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a846d94c6e8be0332554690
Added to database: 08/18/2026, 14:35:00 UTC
Last enriched: 08/18/2026, 14:49:36 UTC
Last updated: 08/18/2026, 23:39:41 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.