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

Medium 6.3 Published Updated

An authenticated attacker can crash the Redis server or read out-of-bound data using a specially crafted Lua script, causing denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-46819?

CVE-2025-46819 is a medium-severity denial of service vulnerability in redis, published on 3 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-125, CWE-190

Which versions are affected by CVE-2025-46819?

3 open source packages ship an affected version, including redis, keydb and valkey. It affects 1 product.

PackageAffectedFixed in
redis BitnamiAll versions6.2.20, 7.2.11, 7.4.6, 8.0.4, 8.2.2
keydb BitnamiAll versions6.2.20, 7.2.11, 7.4.6, 8.0.4, 8.2.2
valkey BitnamiAll versions7.2.11, 8.0.6, 8.1.4

Products include Redis Redis.

How do I fix CVE-2025-46819?

Upgrade redis to a fixed version for your release line: 6.2.20, 7.2.11, 7.4.6 or 8.0.4.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-46819 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-46819 exists.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as ALPINE-CVE-2025-46819, AZL-68244, AZL-68355, AZL-68360, BELL-CVE-2025-46819, BIT-keydb-2025-46819 and 11 more.

Is CVE-2025-46819 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free