CVE-2026-56684

Public on 2026-07-27
Modified on 2026-07-27
Description
A use-after-free vulnerability exists in Valkey's TLS connection handling that can crash the server that can potentially lead to remote code execution. When TLS is enabled, the server keeps a list of connections that have leftover data waiting to be read. While working through that list, one connection being closed can cause Valkey to access memory belonging to another connection that was just freed.

This happens when an authenticated client closes a connection (for example, via CLIENT KILL) while another TLS connection still has buffered data pending. The freed memory could in principle be reclaimed and controlled via heap grooming which can lead to a potential remote code execution.

This issue only affects deployments with TLS enabled. Non-TLS deployments are not affected.
Severity
Important severity
Important
See what this means
CVSS v3 Base Score
7.5
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Redis4.0 Extra redis No Fix Planned
Amazon Linux 2 - Redis6 Extra redis No Fix Planned
Amazon Linux 2023 redis6 No Fix Planned
Amazon Linux 2023 valkey Pending Fix

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H