CVE-2025-49844
October 03, 2025
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.
Affected Packages
https://github.com/redis/redis.git (GITHUB):
Affected version(s) >=1.3.6 <6.2.20Fix Suggestion:
Update to version 6.2.20https://github.com/redis/redis.git (GITHUB):
Affected version(s) >=8.2-int <8.2.2Fix Suggestion:
Update to version 8.2.2https://github.com/redis/redis.git (GITHUB):
Affected version(s) >=7.4-rc1 <7.4.6Fix Suggestion:
Update to version 7.4.6https://github.com/redis/redis.git (GITHUB):
Affected version(s) >=8.0-m01 <8.0.4Fix Suggestion:
Update to version 8.0.4https://github.com/redis/redis.git (GITHUB):
Affected version(s) >=7.2-rc1 <7.2.11Fix Suggestion:
Update to version 7.2.11Related ResourcesĀ (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Use After Free
EPSS
Base Score:
15.12