Heap-based Buffer Overflow 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

EPSS
3% (86th 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-16887660
  • published27 May 2026
  • disclosed5 May 2026

Introduced: 5 May 2026

CVE-2026-25243  (opens in a new tab)
CWE-122  (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 versions of redis-server up to 8.6.3, the RESTORE command does not properly validate serialized values. An authenticated attacker with permission to execute RESTORE can supply a crafted serialized payload that triggers invalid memory access and may lead to remote code execution. A workaround is to restrict access to the RESTORE command with ACL rules. This is patched in version 8.6.3.

CVSS Base Scores

version 3.1