What’s Vulnerable › Vulnerabilities

CVE-2025-46819: Redis is vulnerable to DoS via specially crafted LUA scripts

Description

Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted LUA script to read out-of-bound data or crash the server and subsequent denial of service. The problem exists in all versions of Redis with Lua scripting. This issue is fixed in version 8.2.2. To workaround this issue without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to block a script by restricting both the EVAL and FUNCTION command families.

Affected products

How to fix

Upgrade to a fixed version: Redis 6.2.20, 7.2.11, 7.4.6, 8.0.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-46819 or the next vulnerability affects your stack