Redis
Redis Lua Use-After-Free may lead to remote code execution
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 8.2.2
Fixed in 8.2.2
Mitigation
Upgrade redis to 8.2.2 or later.
References
- Vendor advisory github.com/redis/redis/security/advisories/GHS…
- Patch github.com/redis/redis/commit/d5728cb5795c966c…
- Release notes github.com/redis/redis/releases/tag/8.2.2
Timeline
Days relative to CVE publicationFirst public PoC 3.4 days after publication; not in CISA KEV. First PoC: dwisiswant0/CVE-2025-49844 (created 7 Oct 2025, found by us: backfilled).
PoC repositories
Found on GitHub.18 PoCs · 1 pending · 1 informational · 2 not a PoC · 1 suspicious or fake
PoCs 18
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| dwisiswant0/CVE-2025-49844 | 7 Oct 2025 +3.4 d | 67 | PoC via PoC Index |
| raminfp/redis_exploit | 7 Oct 2025 +3.5 d | 346 | PoC via PoC Index |
| lastvocher/redis-CVE-2025-49844 | 7 Oct 2025 +3.6 d | 14 | PoC |
| pedrorichil/CVE-2025-49844 | 8 Oct 2025 +4.8 d | 6 | PoC |
| MiclelsonCN/CVE-2025-49844_POC | 9 Oct 2025 +5.7 d | 2 | PoC |
| Mufti22/CVE-2025-49844-RediShell-Vulnerability-Scanner | 9 Oct 2025 +5.9 d | 1 | Scanner
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| imbas007/CVE-2025-49844-Vulnerability-Scanner | 11 Oct 2025 +7.7 d | 1 | Scanner
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| angelusrivera/CVE-2025-49844 | 14 Oct 2025 +10 d | 0 | PoC |
| elyasbassir/CVE-2025-49844 | 28 Oct 2025 +25 d | 0 | PoC |
| saneki/cve-2025-49844 | 31 Oct 2025 +27 d | 26 | PoC |
| zbyszkok/CVE-2025-49844-RediShell-AI-made-Revshell | 3 Dec 2025 +60 d | 0 | PoC |
| hzhsec/redis-cve_2025_49844 | 25 Dec 2025 +83 d | 10 | PoC |
| 0xBlackash/CVE-2025-49844 | 9 Mar 2026 +157 d | 0 | PoC |
| 0xredash/CVE-2025-49844 | 9 Mar 2026 +157 d | 0 | PoC |
| ashrafzaryouh/CVE-2025-49844 | 9 Mar 2026 +157 d | 0 | PoC |
| Cilectiy/CVE-2025-49844 | 13 Mar 2026 +161 d | 1 | PoC |
| open-flaw/CVE-2025-49844 | 6 Apr 2026 +185 d | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| cc3305/CVE-2025-49844 | 16 Jun 2026 +256 d | 0 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Yuri08loveElaina/CVE-2025-49844 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| srozb/reditrap | 8 Oct 2025 +4.5 d | 0 | Informational · detection
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Not a PoC 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ksnnd32/redis_exploit | 13 Apr 2019 −6.5 y | 1 | Not a PoC
Flags · score 40
Below the suspicion threshold (50); does not change the assessment. |
| gopinaath/CVE-2025-49844-discovery | 7 Oct 2025 +3.2 d | 0 | Not a PoC · unrelated
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| alsyundawy/eradicate-zimbra-malware | 25 Aug 2026 +326 d | 2 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Redis Lua Parser < 8.2.2 - Use After Free | 7 Oct 2025 | 14 Nov 2026 |