Summary
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-63639: An authenticated user may use a specially crafted RESTORE command to inject a malformed RDB payload containing duplicate Pending Entry List (PEL) assignments. This triggers a use-after-free during stream consumer group deserialization or consumer deletion, potentially leading to remote code execution. The problem exists in all versions of Valkey. CVE-2026-56684: 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.
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | valkey | 0:9.0.5-1.amzn2023.0.1 |
| Amazon Linux · 2023 | valkey-debuginfo | 0:9.0.5-1.amzn2023.0.1 |
| Amazon Linux · 2023 | valkey-debugsource | 0:9.0.5-1.amzn2023.0.1 |
| Amazon Linux · 2023 | valkey-devel | 0:9.0.5-1.amzn2023.0.1 |
Vulnerabilities 2
-
High 8.8
Valkey: UAF in stream deserialization may lead to remote code execution
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 RESTORE command accepts a malformed RDB stream payload that assigns one Pending Entry List NACK to multiple consumers during stream consumer-group deseriali…
-
High 7.5
Valkey: TLS pending-data processing use-after-free may allow remote code execution
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 ca…