Use After Free Affecting valkey-devel 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

EPSS
0.08% (24th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-VALKEYDEVEL-16886943
  • published27 May 2026
  • disclosed5 May 2026

Introduced: 5 May 2026

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

How to fix?

Upgrade Amazon-Linux:2023 valkey-devel 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-devel package and not the valkey-devel 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