CVE-2025-49844
Redis Lua Use-After-Free may lead to remote code execution
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.
INFO
Published Date :
Oct. 3, 2025, 8:15 p.m.
Last Modified :
Oct. 7, 2025, 3:40 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | CRITICAL | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] | ||||
CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update Redis to version 8.2.2.
- Restrict EVAL and EVALSHA commands using ACL.
- Prevent users from executing Lua scripts.
Public PoC/Exploit Available at Github
CVE-2025-49844 has a 7 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-49844
.
URL | Resource |
---|---|
https://github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539 | Patch |
https://github.com/redis/redis/releases/tag/8.2.2 | Release Notes |
https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-49844
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-49844
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile Python
Minimal Redis honeypot detecting RediShell (CVE-2025-49844) exploits.
Dockerfile Python
None
Dockerfile Python
CVE-2025-49844 (RediShell)
Dockerfile Python
CVE-2025-49844 – Redis Lua Parser Use-After-Free
Lua
None
Shell
List of stories removed from the Hacker News Front Page, updated in real time.
C#
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-49844
vulnerability anywhere in the article.

-
CybersecurityNews
PoC Exploit Released for Critical Lua Engine Vulnerabilities
Three newly disclosed vulnerabilities have been identified in the Lua scripting engine of Redis 7.4.5, each presenting severe risks of remote code execution and privilege escalation. Redrays has relea ... Read more

-
Hackread - Latest Cybersecurity, Hacking News, Tech, AI & Crypto
13-Year-Old RediShell Vulnerability Puts 60,000 Redis Servers at Risk
A new vulnerability in Redis, now known as RediShell (CVE-2025-49844), has put tens of thousands of servers at risk of remote compromise. The flaw, rated with a maximum CVSS score of 10.0, has existed ... Read more

-
TheCyberThrone
Redishell: The Critical 13-Year-Old Redis Vulnerability Need to be Patched
October 7, 2025In early October 2025, a devastating remote code execution (RCE) vulnerability in Redis—known as Redishell (CVE-2025-49844)—shook the cybersecurity community. Marked with a perfect CVSS ... Read more

-
Help Net Security
Redis patches critical “RediShell” RCE vulnerability, update ASAP! (CVE-2025-49844)
Redis, the company behind the widely used in-memory data structure store of the same name, has released patches for a critical vulnerability (CVE-2025-49844) that may allow attackers full access to th ... Read more

-
The Cyber Express
Researchers Uncover 13-Year-Old Redis Flaw Impacting Nearly 330,000 Instances
Researchers have uncovered a 13-year-old critical remote-code-execution flaw in Redis that let attackers escape the product’s Lua sandbox and execute native code on the host, creating a straight line ... Read more

-
security.nl
Redis dicht kritieke kwetsbaarheid die aanvaller code op server laat uitvoeren
De makers van Redis, een cachingoplossing die als databaseserver kan worden gebruikt of kan helpen om de prestaties van databases te verbeteren, hebben een kritieke kwetsbaarheid gepatcht waardoor aan ... Read more

-
The Hacker News
13-Year Redis Flaw Exposed: CVSS 10.0 Vulnerability Lets Attackers Run Code Remotely
Oct 07, 2025Ravie LakshmananVulnerability / Cloud Security Redis has disclosed details of a maximum-severity security flaw in its in-memory database software that could result in remote code executi ... Read more

-
CybersecurityNews
13-year-old Critical Redis RCE Vulnerability Let Attackers Gain Full Access to Host System
A 13-year-old critical remote code execution (RCE) vulnerability in Redis, dubbed RediShell, allows attackers to gain full access to the underlying host system. The flaw, tracked as CVE-2025-49844, wa ... Read more

-
The Register
Level-10 vuln lurking in Redis source code for 13 years could allow remote code execution
A 13-year-old critical flaw in Redis servers, rated a perfect 10 out of 10 in severity, can let an authenticated user trigger remote code execution. For anyone using Redis Cloud, the service has alrea ... Read more

-
BleepingComputer
Redis warns of critical flaw impacting thousands of instances
The Redis security team has released patches for a maximum severity vulnerability that could allow attackers to gain remote code execution on thousands of vulnerable instances. Redis (short for Remote ... Read more

-
The Hacker News
⚡ Weekly Recap: Oracle 0-Day, BitLocker Bypass, VMScape, WhatsApp Worm & More
The cyber world never hits pause, and staying alert matters more than ever. Every week brings new tricks, smarter attacks, and fresh lessons from the field. This recap cuts through the noise to share ... Read more

-
CybersecurityNews
PoC Exploit Released for Sudo Vulnerability that Enables Attackers to Gain Root Access
A publicly available proof-of-concept (PoC) exploit has been released for CVE-2025-32463, a local privilege escalation (LPE) flaw in the Sudo utility that can grant root access under specific configur ... Read more

-
CybersecurityNews
Redis Server Vulnerability use-after-free Vulnerability Enables Remote Code Execution
A critical use-after-free vulnerability, identified as CVE-2025-49844, has been discovered in Redis servers, enabling authenticated attackers to achieve remote code execution. This high-severity flaw ... Read more

-
CybersecurityNews
QNAP NetBak Replicator Vulnerability Let Attackers Execute Unauthorized Code
QNAP has released a security advisory detailing a vulnerability in its NetBak Replicator utility that could allow local attackers to execute unauthorized code. The flaw, identified as CVE-2025-57714, ... Read more

-
CybersecurityNews
PoC Exploit Released for Remotely Exploitable Oracle E-Business Suite 0-Day Vulnerability
A critical zero-day vulnerability in Oracle E-Business Suite has emerged as a significant threat to enterprise environments, with proof-of-concept (PoC) exploit code now publicly available. CVE-2025-6 ... Read more

-
Daily CyberSecurity
Critical Flaw CVE-2025-49844 (CVSS 10.0) Allows Remote Code Execution in Redis
Redis, the popular open-source in-memory data store widely used for real-time analytics, caching, and message brokering, has released multiple patches addressing four security vulnerabilities that cou ... Read more
The following table lists the changes that have been made to the
CVE-2025-49844
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Reanalysis by [email protected]
Oct. 07, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Removed CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
Initial Analysis by [email protected]
Oct. 06, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* versions up to (excluding) 6.2.20 *cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* versions from (including) 7.0 up to (excluding) 7.2.11 *cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* versions from (including) 7.4.0 up to (excluding) 7.4.6 *cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.0.4 *cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* versions from (including) 8.2.0 up to (excluding) 8.2.2 Added Reference Type GitHub, Inc.: https://github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/redis/redis/releases/tag/8.2.2 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q Types: Third Party Advisory -
New CVE Received by [email protected]
Oct. 03, 2025
Action Type Old Value New Value 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. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Added CWE CWE-416 Added Reference https://github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539 Added Reference https://github.com/redis/redis/releases/tag/8.2.2 Added Reference https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q