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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| redis | redis | < 8.2.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | redis | 5:8.0.4-1 | — |
| Debian 14 | valkey | 8.1.4+dfsg1-1 | — |
| Debian 13 | redis | 5:8.0.2-3+deb13u1 | DSA-6020-1 |
| Debian 13 | valkey | 8.1.1+dfsg1-3+deb13u1 | DSA-6022-1 |
| Debian 12 | redis | 5:7.0.15-1~deb12u6 | DSA-6020-1 |
| Debian 11 | redis | 5:6.0.16-1+deb11u8 | DLA-4325-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | lua5.1 | No fix yet | — |
| Ubuntu 26.04 LTS | lua5.1 | No fix yet | — |
| Ubuntu 25.10 | lua5.1 | No fix yet | — |
| Ubuntu 25.10 | redict | 7.3.5+ds-1ubuntu0.1 | USN-7824-2 |
| Ubuntu 25.10 | redis | 5:8.0.2-3ubuntu0.25.10.1 | USN-7824-1 |
| Ubuntu 25.10 | valkey | 8.1.4+dfsg1-0ubuntu0.2 | USN-7893-1 |
| Ubuntu 24.04 LTS | lua5.1 | No fix yet | — |
| Ubuntu 24.04 LTS | redis | 5:7.0.15-1ubuntu0.24.04.2 | USN-7824-1 |
| Ubuntu 24.04 LTS | valkey | 7.2.11+dfsg1-0ubuntu0.2 | USN-7893-1 |
| Ubuntu 22.04 LTS | redis | 5:6.0.16-1ubuntu1.1 | USN-7824-3 |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | lua50 | No fix yet | — |
| Ubuntu 18.04 LTS | lua50 +1 | No fix yet | — |
| Ubuntu 16.04 LTS | lua50 | No fix yet | — |
| Ubuntu 14.04 LTS | lua5.1 | No fix yet | — |
| Ubuntu Pro 22.04 LTS | lua5.1 | 5.1.5-8.1ubuntu0.22.04.1~esm1 | — |
| Ubuntu Pro 20.04 LTS | lua5.1 | 5.1.5-8.1ubuntu0.20.04.1~esm1 | — |
| Ubuntu Pro 20.04 LTS | redis | 5:5.0.7-2ubuntu0.1+esm4 | USN-7824-1 |
| Ubuntu Pro 18.04 LTS | redis | 5:4.0.9-1ubuntu0.2+esm6 | USN-7824-1 |
| Ubuntu Pro 16.04 LTS | redis | 2:3.0.6-1ubuntu0.4+esm4 | USN-7824-1 |
| Ubuntu Pro 14.04 LTS | redis | 2:2.8.4-2ubuntu0.2+esm5 | USN-7824-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | valkey +1 | 8.0.6-1.el10_0 | RHSA-2025:21936, RHSA-2025:19675 |
| RHEL 9 | redis +2 | 6.2.20-1.el9_6 | RHSA-2025:20955, RHSA-2025:20926, RHSA-2025:19345 |
| RHEL 9 | valkey +1 | 8.0.6-2.el9_7 | RHSA-2025:21916 |
| RHEL 8 | redis +2 | 6.2.20-1.module+el8.10.0+23551+d4cd15d7 | RHSA-2025:19238 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.4 EUS | redis +2 | 6.2.7-1.el9_4.5 | RHSA-2025:18996, RHSA-2025:18931 |
| RHEL 9.2 E4S | redis +2 | 6.2.7-1.el9_2.5 | RHSA-2025:19086 |
| RHEL 9.0 E4S | redis +2 | 6.2.6-1.el9_0.5 | RHSA-2025:18997 |
| RHEL 8.8 TUS | redis +2 | 6.2.7-1.module+el8.8.0+23580+a818c120.6 | RHSA-2025:19399 |
| RHEL 8.8 E4S | redis +2 | 6.2.7-1.module+el8.8.0+23580+a818c120.6 | RHSA-2025:19399 |
| RHEL 8.6 TUS | redis +2 | 6.0.9-5.module+el8.6.0+23584+001f3496.6 | RHSA-2025:19239 |
| RHEL 8.6 E4S | redis +2 | 6.0.9-5.module+el8.6.0+23584+001f3496.6 | RHSA-2025:19239 |
| RHEL 8.6 AUS | redis +2 | 6.0.9-5.module+el8.6.0+23584+001f3496.6 | RHSA-2025:19239 |
| RHEL 8.4 EUS Long Life | redis +2 | 6.0.9-5.module+el8.4.0+23585+fb4eb024.5 | RHSA-2025:19318 |
| RHEL 8.4 AUS | redis +2 | 6.0.9-5.module+el8.4.0+23585+fb4eb024.5 | RHSA-2025:19318 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | valkey +1 | 8.0.6-1.el10_0 | ALSA-2025:21936, ALSA-2025:19675 |
| AlmaLinux 9 | redis +2 | 6.2.20-1.el9_6 | ALSA-2025:20955, ALSA-2025:20926, ALSA-2025:19345 |
| AlmaLinux 9 | valkey +1 | 8.0.6-2.el9_7 | ALSA-2025:21916 |
| AlmaLinux 8 | redis +2 | 6.2.20-1.module_el8.10.0+4056+739731b0 | ALSA-2025:19238 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | valkey | 8.0.6-1.el10_0 | RLSA-2025:21936, RLSA-2025:19675 |
| Rocky Linux 9 | redis | 6.2.20-1.el9_6 | RLSA-2025:20955, RLSA-2025:20926, RLSA-2025:19345 |
| Rocky Linux 9 | valkey | 8.0.6-2.el9_7 | RLSA-2025:21916 |
| Rocky Linux 8 | redis | 6.2.20-1.module+el8.10.0+2081+450a296c | RLSA-2025:19238 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | valkey | 8.0.6-150700.3.11.1 | SUSE-SU-2025:03502-1 |
| SLES 15 SP6 | redis | 7.2.4-150600.3.18.1 | SUSE-SU-2025:03505-1 |
| SLES 15 SP6 | redis7 | 7.0.8-150600.8.19.1 | SUSE-SU-2025:03500-1 |
| SLES 15 SP6 | valkey | 8.0.6-150600.13.17.1 | SUSE-SU-2025:03499-1 |
| SLES 15 SP5 | redis | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SLES 15 SP5 | redis7 | 7.0.8-150500.3.24.1 | SUSE-SU-2025:03501-1 |
| SLES 15 SP4 | redis | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SLES 15 SP3 | redis | 6.0.14-150200.6.43.1 | SUSE-SU-2025:03507-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | valkey | 8.0.6-160000.1.1 | SUSE-SU-2026:20022-1 |
| SLES for SAP 15 SP5 | redis | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SLES for SAP 15 SP5 | redis7 | 7.0.8-150500.3.24.1 | SUSE-SU-2025:03501-1 |
| SLES for SAP 15 SP4 | redis | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SLES for SAP 15 SP3 | redis | 6.0.14-150200.6.43.1 | SUSE-SU-2025:03507-1 |
| SLES 16.0 | valkey | 8.0.6-160000.1.1 | SUSE-SU-2026:20022-1 |
| SLE HPC 15 SP5 | redis | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SLE HPC 15 SP5 | redis7 | 7.0.8-150500.3.24.1 | SUSE-SU-2025:03501-1 |
| SLE HPC 15 SP4 | redis | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SLE HPC 15 SP3 | redis | 6.0.14-150200.6.43.1 | SUSE-SU-2025:03507-1 |
| SUSE Manager Server LTS 4.3 | redis | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SUSE Manager Proxy LTS 4.3 | redis | 6.2.6-150400.3.40.1 | SUSE-SU-2025:03506-1 |
| SUSE Enterprise Storage 7.1 | redis | 6.0.14-150200.6.43.1 | SUSE-SU-2025:03507-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | redis | 8.2.2-1.1 | openSUSE-SU-2025:15600-1 |
| openSUSE Tumbleweed | valkey | 8.1.4-1.1 | openSUSE-SU-2025:15604-1 |
| openSUSE Leap 16.0 | redis | 8.2.3-bp160.1.1 | openSUSE-SU-2025:20121-1 |
| openSUSE Leap 16.0 | valkey | 8.0.6-160000.1.1 | openSUSE-SU-2026:20003-1 |
| openSUSE Leap 15.6 | redis | 7.2.4-150600.3.18.1 | SUSE-SU-2025:03505-1 |
| openSUSE Leap 15.6 | redis7 | 7.0.8-150600.8.19.1 | SUSE-SU-2025:03500-1 |
| openSUSE Leap 15.6 | valkey | 8.0.6-150600.13.17.1 | SUSE-SU-2025:03499-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | redict | 7.3.6-r0 | — |
| Alpine v3.24 | redis | 8.2.2-r0 | — |
| Alpine v3.24 | valkey | 8.1.4-r0 | — |
| Alpine v3.23 | redict | 7.3.6-r0 | — |
| Alpine v3.23 | redis | 8.2.2-r0 | — |
| Alpine v3.23 | valkey | 8.1.4-r0 | — |
| Alpine v3.22 | redict | 7.3.6-r0 | — |
| Alpine v3.22 | redis | 8.0.4-r0 | — |
| Alpine v3.22 | valkey | 8.1.4-r0 | — |
| Alpine v3.21 | redis +1 | 7.2.11-r0 | — |
| Alpine v3.20 | valkey | 7.2.11-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | redis6 +2 | 6.2.20-2.amzn2023.0.1 | ALAS2023-2025-1222 |
| Amazon Linux 2023 | valkey +1 | 8.0.6-3.amzn2023.0.2 | ALAS2023-2025-1221 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | compat-lua | No fix yet | — |
| Azure Linux 3 | valkey | 8.0.6-1 | — |
| Azure Linux 2 (CBL-Mariner) | compat-lua | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | redis | 6.2.20-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | valkey +1 | 8.0.4-1.0.1.el10_0 | ELSA-2025-21936, ELSA-2025-20653, ELSA-2025-19675 |
| Oracle Linux 9 | redis +2 | 6.2.19-1.0.1.el9_6 | ELSA-2025-20955, ELSA-2025-20926, ELSA-2025-20655 |
| Oracle Linux 9 | valkey +1 | 8.0.6-2.el9_7 | ELSA-2025-21916 |
| Oracle Linux 8 | redis +2 | 6.2.19-1.0.2.module+el8.10.0+90680+2298f620 | ELSA-2025-20656, ELSA-2025-19238 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 19 repositories · most starred shown
-
raminfp/redis_exploit ★ 345 · Oct 7, 2025
CVE-2025-49844 (RediShell)
-
dwisiswant0/CVE-2025-49844 ★ 67 · Oct 7, 2025
CVE-2025-49844 – Redis Lua Parser Use-After-Free
-
saneki/cve-2025-49844 ★ 26 · Oct 31, 2025
Proof-of-concept for CVE-2025-49844
-
lastvocher/redis-CVE-2025-49844 ★ 14 · Oct 7, 2025
-
pedrorichil/CVE-2025-49844 ★ 6 · Oct 8, 2025
-
MiclelsonCN/CVE-2025-49844_POC ★ 2 · Oct 9, 2025
CVE-2025-49844 POC
-
Zain3311/CVE-2025-49844 ★ 2 · Apr 6, 2022
🚨 Exploit the CVE-2025-49844 Redis Lua interpreter UAF vulnerability to execute arbitrary shellcode and gain persistent backdoor access.
-
imbas007/CVE-2025-49844-Vulnerability-Scanner ★ 1 · Oct 11, 2025
-
Mufti22/CVE-2025-49844-RediShell-Vulnerability-Scanner ★ 1 · Oct 9, 2025
CVE-2025-49844 checker
-
ksnnd32/redis_exploit ★ 1 · Apr 13, 2019
🔍 Explore and test the CVE-2025-49844 (RediShell) vulnerability in Redis with this practical lab environment for secure education and research.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Redis Lua Parser < 8.2.2 - Use After Free javascript/cves/2025/CVE-2025-49844.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 50
- ALSA-2025:21936 Important: valkey security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:19675 Important: valkey security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:21916 Important: valkey security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:19345 Important: redis:7 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:20926 Important: redis security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:20955 Important: redis:7 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:19237 Important: redis security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:19238 Important: redis:6 security update AlmaLinux Security Advisories · Oct 29, 2026
- USN-7824-1 redis vulnerability Ubuntu Security Notices (USN) · Aug 31, 2026
- RHSA-2025:21936 Red Hat Security Advisory: valkey security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:21916 Red Hat Security Advisory: valkey security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:20955 Red Hat Security Advisory: redis:7 security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:20926 Red Hat Security Advisory: redis security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:19675 Red Hat Security Advisory: valkey security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:19399 Red Hat Security Advisory: redis:6 security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:19345 Red Hat Security Advisory: redis:7 security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:19318 Red Hat Security Advisory: redis:6 security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:19238 Red Hat Security Advisory: redis:6 security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:19239 Red Hat Security Advisory: redis:6 security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:19237 Red Hat Security Advisory: redis security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:18997 Red Hat Security Advisory: redis security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:19086 Red Hat Security Advisory: redis security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:18931 Red Hat Security Advisory: redis:7 security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- RHSA-2025:18996 Red Hat Security Advisory: redis security update Red Hat Security Advisories (RHSA) · Jul 12, 2026
- WID-SEC-2025-2196 Redis: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 19, 2026
- USN-7893-1 valkey vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-7824-3 redis vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-7824-2 redict vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- ICSA-26-083-03 "Schneider Electric Plant iT/Brewmaxx" CISA ICS & IT advisories · Mar 24, 2026
- openSUSE-SU-2026:20003-1 Security update of valkey SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:20121-1 Security update for redis SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15600-1 redis-8.2.2-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15604-1 valkey-8.1.4-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20022-1 Security update of valkey SUSE / openSUSE Security Updates · Mar 23, 2026
- SEVD-2026-013-01 Multiple Third-Party Vulnerabilities on ProLeiT Plant iT/Brewmaxx Schneider Electric CPCERT · Mar 10, 2026
- SUSE-SU-2025:03506-1 Security update for redis SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03502-1 Security update for valkey SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03501-1 Security update for redis7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03499-1 Security update for valkey SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03500-1 Security update for redis7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03507-1 Security update for redis SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03505-1 Security update for redis SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2026-0022 Kwetsbaarheden verholpen in Oracle Communications producten NCSC-NL (Netherlands) · Jan 21, 2026
- WID-SEC-2026-0153 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- ELSA-2025-21936 Important: valkey security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Dec 2, 2025
- RLSA-2025:20955 Important: redis:7 security update Rocky Linux Security Advisories · Nov 29, 2025
- RLSA-2025:19345 Important: redis:7 security update Rocky Linux Security Advisories · Nov 29, 2025
- RLSA-2025:19238 Important: redis:6 security update Rocky Linux Security Advisories · Nov 29, 2025
- RLSA-2025:21936 Important: valkey security update Rocky Linux Security Advisories · Nov 25, 2025
- RLSA-2025:21916 Important: valkey security update Rocky Linux Security Advisories · Nov 25, 2025