CVE-2025-49844
high-risk
Published 2025-10-03
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.
Do I need to act?
!
14.2% chance of exploitation in next 30 days
EPSS score — higher than 86% of all CVEs
-
Not on CISA KEV list
No confirmed active exploitation reported to CISA
+
Fix available
Upgrade to: 9829bdbfd9e7eeb8fb6c79ce36bcc77a681824b1, 5f4bae3ea10174a7c872cc099c953b0e91afa93a
9
CVSS 9.9/10
Critical
NETWORK
/ LOW complexity
Affected Products (2)
Valkey
Affected Vendors
References (5)
Release Notes
https://github.com/redis/redis/releases/tag/8.2.2
Third Party Advisory
https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q
52
/ 100
high-risk
Severity
33/34 · Critical
Exploitability
12/34 · Low
Exposure
7/34 · Low