CVE-2026-56684: CWE-416: Use After Free in valkey-io valkey
Valkey is a distributed key-value database. Prior to 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1, Valkey's tlsProcessPendingData function iterates pending_list while an authenticated client can trigger CLIENT KILL, causing connTLSClose to delete the iterator's cached next node and producing a use-after-free that can crash the server or potentially allow remote code execution when TLS is enabled. This issue is fixed in versions 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1.
AI Analysis
Technical Summary
Valkey, a distributed key-value database, contains a use-after-free vulnerability (CWE-416) in its tlsProcessPendingData function. The issue arises when an authenticated client triggers CLIENT KILL while the function iterates over a pending_list, leading connTLSClose to delete the iterator's cached next node. This results in a use-after-free condition that can cause server crashes or potentially enable remote code execution under TLS. The vulnerability affects versions prior to 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1, where fixes have been applied.
Potential Impact
Successful exploitation can cause denial of service by crashing the server or potentially allow remote code execution when TLS is enabled. The vulnerability requires an authenticated client and has a high CVSS score of 7.5, indicating significant confidentiality, integrity, and availability impacts.
Mitigation Recommendations
Fixed versions are available: 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 vendor advisory content is provided to indicate alternative mitigations or that no action is required.
CVE-2026-56684: CWE-416: Use After Free in valkey-io valkey
Description
Valkey is a distributed key-value database. Prior to 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1, Valkey's tlsProcessPendingData function iterates pending_list while an authenticated client can trigger CLIENT KILL, causing connTLSClose to delete the iterator's cached next node and producing a use-after-free that can crash the server or potentially allow remote code execution when TLS is enabled. This issue is fixed in versions 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1.
CVSS v3.1
Score 7.5high
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
Valkey, a distributed key-value database, contains a use-after-free vulnerability (CWE-416) in its tlsProcessPendingData function. The issue arises when an authenticated client triggers CLIENT KILL while the function iterates over a pending_list, leading connTLSClose to delete the iterator's cached next node. This results in a use-after-free condition that can cause server crashes or potentially enable remote code execution under TLS. The vulnerability affects versions prior to 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1, where fixes have been applied.
Potential Impact
Successful exploitation can cause denial of service by crashing the server or potentially allow remote code execution when TLS is enabled. The vulnerability requires an authenticated client and has a high CVSS score of 7.5, indicating significant confidentiality, integrity, and availability impacts.
Mitigation Recommendations
Fixed versions are available: 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 vendor advisory content is provided to indicate alternative mitigations or that no action is required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-22T16:39:01.044Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a846d94c6e8be033255468e
Added to database: 08/18/2026, 14:35:00 UTC
Last enriched: 08/18/2026, 14:49:46 UTC
Last updated: 08/18/2026, 23:39:10 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.