Use After Free Affecting valkey package, versions <0:9.0.4-1.amzn2023.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.78% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-VALKEY-16887268
  • published27 May 2026
  • disclosed5 May 2026

Introduced: 5 May 2026

CVE-2026-23631  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 valkey to version 0:9.0.4-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-1748.

NVD Description

Note: Versions mentioned in the description apply only to the upstream valkey package and not the valkey package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

Redis is an in-memory data structure store. In all versions of redis-server with Lua scripting, an authenticated attacker can exploit the master-replica synchronization mechanism to trigger a use-after-free on replicas where replica-read-only is disabled or can be disabled, which may lead to remote code execution. A workaround is to prevent users from executing Lua scripts or avoid using replicas where replica-read-only is disabled. This is patched in version 8.6.3.

CVSS Base Scores

version 3.1