CVE-2025-49844

CRITICALCVSS 9.9/10EPSS 86.27%

Last modified

CVE-2025-49844 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. 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. EPSS estimates a 86.27% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.9/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

EPSS Probability
86.27%

99.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
RedisRedis< 6.2.20
RedisRedis>= 7.0, < 7.2.11
RedisRedis>= 7.4.0, < 7.4.6
RedisRedis>= 8.0.0, < 8.0.4
RedisRedis>= 8.2.0, < 8.2.2
LfprojectsValkey< 7.2.11
LfprojectsValkey>= 8.0.0, < 8.0.6
LfprojectsValkey>= 8.1.0, < 8.1.4

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2025-49844?
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.
How severe is CVE-2025-49844?
CVE-2025-49844 has a CVSS score of 9.9/10 (CRITICAL severity). The EPSS model estimates a 86.27% probability of exploitation in the next 30 days.
How do I fix CVE-2025-49844?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2025-49844?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST