Critical Security Update for Valkey: Addressing Multiple Vulnerabilities

valkey Updated 02 Dec 2025

Summary

24/11/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:21916: Important: valkey security update. Affects valkey versions < 8.0.6-2.el9_7. Fixed in 8.0.6-2.el9_7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Valkey is an advanced key-value store often referred to as a data structure server. It supports various data types including strings, hashes, lists, sets, and sorted sets, allowing for atomic operations like appending to strings and incrementing hash values. Valkey operates primarily in-memory for high performance, with options for data persistence through periodic dumps or command logging. It also features master-slave replication, transactions, Pub/Sub, Lua scripting, and time-limited keys, making it versatile for various programming languages.

Vulnerability Detail

The vulnerabilities in Valkey stem from issues within its Lua library commands, which can lead to integer overflow, remote code execution (RCE), and denial of service (DoS) attacks through specially crafted Lua scripts. Authenticated users may exploit these vulnerabilities to execute scripts as different users, and a use-after-free condition could further facilitate RCE. These vulnerabilities pose significant risks to data integrity and system security.

How To Fix

Minimum fixed version

8.0.6-2.el9_7

This is the first release that contains the fix.

sudo dnf update valkey

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, restrict access to the Lua scripting features of Valkey until the update can be applied. This can be done by modifying the configuration settings to disable Lua script execution for untrusted users.

Conclusion

In summary, the recent vulnerabilities in Valkey pose significant risks that can be mitigated by updating to the latest patched version. Users are encouraged to apply the update promptly and consider using Vulert for ongoing monitoring of open-source vulnerabilities.

See every vulnerability recorded for valkey →

Share this vulnerability

FAQ

The main vulnerabilities include integer overflow, unauthorized Lua script execution, denial of service via crafted scripts, and a use-after-free condition leading to remote code execution.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

These vulnerabilities can lead to unauthorized access, data corruption, service disruption, and potential remote code execution, compromising the security of your application.

Yes, you can temporarily restrict access to Lua scripting features to mitigate risks until the update is applied.

For more details, refer to the CVE pages associated with these vulnerabilities: CVE-2025-46817, CVE-2025-46818, CVE-2025-46819, and CVE-2025-49844.

Related vulnerabilities

Recent vulnerabilities recorded for valkey.

How To Fix

Minimum fixed version

8.0.6-2.el9_7

This is the first release that contains the fix.

sudo dnf update valkey

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback