IM
IronMonkey Threat Research

CVE-2025-49844 CRITICAL

Published: 2025-10-03 | Last Modified: 2026-03-20 | Status: Modified

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.

CVSS Metrics

Base Score: 9.9 (CRITICAL)

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

Attack VectorNETWORK
Attack ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
ScopeCHANGED
Confidentiality ImpactHIGH
Integrity ImpactHIGH
Availability ImpactHIGH

Source: [email protected]

Type: Primary

Exploitability Score: 3.1

Impact Score: 6.0

Weaknesses

Source Type Description
[email protected] Secondary
en CWE-416

Affected Products

Vendor Product Version Update Type
redis redis * <built-in method update of dict object at 0x7e60a8b56f80> Application
redis redis * <built-in method update of dict object at 0x7e6112c9a340> Application
redis redis * <built-in method update of dict object at 0x7e60a87b57c0> Application
redis redis * <built-in method update of dict object at 0x7e6112c9b000> Application
redis redis * <built-in method update of dict object at 0x7e60a8b576c0> Application
lfprojects valkey * <built-in method update of dict object at 0x7e60a8b54040> Application
lfprojects valkey * <built-in method update of dict object at 0x7e60a8b55e40> Application
lfprojects valkey * <built-in method update of dict object at 0x7e6108beaac0> Application

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
Yes cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
Yes cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
Yes cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
Yes cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:*
Yes cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:*
Yes cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:*
Notification
Message here