Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-49844— Redis Lua Use-After-Free may lead to remote code execution

Quick assessment

Affected
redis redis
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Redis是美国Redis公司的一套开源的使用ANSI C编写、支持网络、可基于内存亦可持久化的日志型、键值(Key-Value)存储数据库,并提供多种语言的API。 Redis 8.2.1及之前版本存在资源管理错误漏洞,该漏洞源于特制Lua脚本可操纵垃圾收集器,触发释放后重用,可能导致远程代码执行。

CVSS 10.0 · Critical EPSS 82.29% · P100
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-49844

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Redis Lua Use-After-Free may lead to remote code execution
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
释放后使用
Source: CVE Program / CVE List V5
Vulnerability Title
Redis 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Redis是美国Redis公司的一套开源的使用ANSI C编写、支持网络、可基于内存亦可持久化的日志型、键值(Key-Value)存储数据库,并提供多种语言的API。 Redis 8.2.1及之前版本存在资源管理错误漏洞,该漏洞源于特制Lua脚本可操纵垃圾收集器,触发释放后重用,可能导致远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
redis redis < 8.2.2 -

II. Public POCs for CVE-2025-49844

# POC Description Source Link Shenlong Link
1 None https://github.com/gopinaath/CVE-2025-49844-discovery POC Details
2 CVE-2025-49844 – Redis Lua Parser Use-After-Free https://github.com/dwisiswant0/CVE-2025-49844 POC Details
3 CVE-2025-49844 (RediShell) https://github.com/raminfp/redis_exploit POC Details
4 None https://github.com/lastvocher/redis-CVE-2025-49844 POC Details
5 Minimal Redis honeypot detecting RediShell (CVE-2025-49844) exploits. https://github.com/srozb/reditrap POC Details
6 None https://github.com/pedrorichil/CVE-2025-49844 POC Details
7 A powerful Redis exploitation tool that leverages CVE-2025-4984 https://github.com/Yuri08loveElaina/CVE-2025-49844 POC Details
8 CVE-2025-49844 POC https://github.com/YuanBenSir/CVE-2025-49844_POC POC Details
9 CVE-2025-49844 checker https://github.com/Mufti22/CVE-2025-49844-RediShell-Vulnerability-Scanner POC Details
10 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. https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2025/CVE-2025-49844.yaml POC Details
11 None https://github.com/imbas007/CVE-2025-49844-Vulnerability-Scanner POC Details
12 PoC of RediShell https://github.com/angelusrivera/CVE-2025-49844 POC Details
13 CVE-2025-49844 POC https://github.com/MiclelsonCN/CVE-2025-49844_POC POC Details
14 🔍 Explore and test the CVE-2025-49844 (RediShell) vulnerability in Redis with this practical lab environment for secure education and research. https://github.com/ksnnd32/redis_exploit POC Details
15 🚨 Exploit the CVE-2025-49844 Redis Lua interpreter UAF vulnerability to execute arbitrary shellcode and gain persistent backdoor access. https://github.com/Zain3311/CVE-2025-49844 POC Details
16 اسکپلویت اسیب پذیری CVE-2025-49844 https://github.com/elyasbassir/CVE-2025-49844 POC Details
17 CVE-2025-49844 https://github.com/B1ack4sh/Blackash-CVE-2025-49844 POC Details
18 Proof-of-concept for CVE-2025-49844 https://github.com/saneki/cve-2025-49844 POC Details
19 Untested completition of the Redishell PoC made by AI https://github.com/Network-Sec/CVE-2025-49844-RediShell-AI-made-Revshell POC Details
20 CVE-2025-49844 https://github.com/Ashwesker/Blackash-CVE-2025-49844 POC Details
AI-Generated POC Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Success marker: VULNERABLE: attacker Lua script executed on redis 8.2.1, exfiltrated token PROOF_163a1ca18135b86c (UAF RCE primitive; GC stress ran 129ms)
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 5607 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2025-49844

请登录查看更多情报信息。

Same Patch Batch · redis · 2025-10-03 · 4 CVEs total

CVE-2025-46817 7.0 HIGH Lua library commands may lead to integer overflow and potential RCE
CVE-2025-46819 6.3 MEDIUM Redis is vulnerable to DoS via specially crafted LUA scripts
CVE-2025-46818 6.0 MEDIUM Redis: Authenticated users can execute LUA scripts as a different user

IV. Related Vulnerabilities

V. Comments for CVE-2025-49844

No comments yet


Leave a comment