CVE-2025-49844

Critical

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 manipulate the garbage collector, trigger a use-after-free and potentially lead to remote code execution. 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 restrict EVAL and EVALSHA commands.

SeverityCritical
CVSS9.9
Exploit probability100. percentile82.6%
ProductRedis
PublishedOct 3, 2025
First seenOct 3, 2025

How to fix

Update
  • redis redis6.2.20, 7.2.11, 7.4.6, 8.0.4, 8.2.2 or later
  • lfprojects valkey7.2.11, 8.0.6, 8.1.4 or later

Affected products

ProductAffected versionsFixed in
redis redisv < 6.2.20, 7.0 ≤ v < 7.2.11, 7.4.0 ≤ v < 7.4.6, 8.0.0 ≤ v < 8.0.4, 8.2.0 ≤ v < 8.2.26.2.20, 7.2.11, 7.4.6, 8.0.4, 8.2.2
lfprojects valkeyv < 7.2.11, 8.0.0 ≤ v < 8.0.6, 8.1.0 ≤ v < 8.1.47.2.11, 8.0.6, 8.1.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-49844 · Redis · Dark Radar