CVE-2025-49844

Redis Lua Use-After-Free may lead to remote code execution

Published Oct 3, 2025 CVSS 3.1 · 10 Critical EPSS 83.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4325-1 redis security update
Debian DSA Debian DSA DSA-6020-1 redis security update
Debian DSA Debian DSA DSA-6022-1 valkey security update
EUVD EUVD EUVD-2025-32326 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.
Ubuntu USN Ubuntu USN USN-7824-1 Redis vulnerability
Ubuntu USN Ubuntu USN USN-7824-2 Redict vulnerability
Ubuntu USN Ubuntu USN USN-7824-3 Redis vulnerability
Ubuntu USN Ubuntu USN USN-7893-1 Valkey vulnerabilities
Ubuntu USN Ubuntu USN USN-8262-1 Lua vulnerability
Ubuntu USN Ubuntu USN USN-8169-1 Redis, Lua vulnerabilities
History
Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Lfprojects
Lfprojects valkey
CPEs cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:*
Vendors & Products Lfprojects
Lfprojects valkey
Type Values Removed Values Added
CPEs cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Redis
Redis redis
Vendors & Products Redis
Redis redis
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Redis Lua Use-After-Free may lead to remote code execution
Weaknesses CWE-416
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 20, 2026, 2:08 PM
Reserved
Jun 11, 2025, 2:33 PM
Status
Modified
Published
Oct 3, 2025, 8:15 PM
Modified
Oct 19, 2026, 4:10 PM
Severity
Important
Public date
Oct 3, 2025, 7:27 PM