CVE-2025-49844

Redis Lua Use-After-Free may lead to remote code execution

CVE-2025-49844 is fixed in 26 products on 1 platform, first by liblua5.1-0 5.1.5-8.1ubuntu0.20.04.1~esm1, released October 3, 2025. It is not reported as exploited. Patch Radar priority: Urgent.

Urgent
CVSS
9.9
Critical
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.8264
99th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
liblua5.1-0 · Ubuntu 20.04 LTS (focal) 5.1.5-8.1ubuntu0.20.04.1~esm1 liblua5.1-0 5.1.5-8.1ubuntu0.20.04.1~esm1 Oct 3, 2025
liblua5.1-0 · Ubuntu 22.04.1 LTS (jammy) 5.1.5-8.1ubuntu0.22.04.1~esm1 liblua5.1-0 5.1.5-8.1ubuntu0.22.04.1~esm1 Oct 3, 2025
lua5.1 · Ubuntu 20.04 LTS (focal) 5.1.5-8.1ubuntu0.20.04.1~esm1 lua5.1 5.1.5-8.1ubuntu0.20.04.1~esm1 Oct 3, 2025
lua5.1 · Ubuntu 22.04.1 LTS (jammy) 5.1.5-8.1ubuntu0.22.04.1~esm1 lua5.1 5.1.5-8.1ubuntu0.22.04.1~esm1 Oct 3, 2025
redict · Debian 14 7.3.6+ds-1 DEBIAN-CVE-2025-49844 Oct 3, 2025
redict · Ubuntu 25.04 (plucky) 7.3.2+ds-1ubuntu0.1 redict 7.3.2+ds-1ubuntu0.1 Jan 16, 2026
redict · Ubuntu 25.10 (questing) 7.3.5+ds-1ubuntu0.1 redict 7.3.5+ds-1ubuntu0.1 Oct 3, 2025
redict-sentinel · Ubuntu 25.04 (plucky) 7.3.2+ds-1ubuntu0.1 redict-sentinel 7.3.2+ds-1ubuntu0.1 Jan 16, 2026
redict-sentinel · Ubuntu 25.10 (questing) 7.3.5+ds-1ubuntu0.1 redict-sentinel 7.3.5+ds-1ubuntu0.1 Oct 3, 2025
redict-server · Ubuntu 25.04 (plucky) 7.3.2+ds-1ubuntu0.1 redict-server 7.3.2+ds-1ubuntu0.1 Jan 16, 2026
redict-server · Ubuntu 25.10 (questing) 7.3.5+ds-1ubuntu0.1 redict-server 7.3.5+ds-1ubuntu0.1 Oct 3, 2025
redict-tools · Ubuntu 25.04 (plucky) 7.3.2+ds-1ubuntu0.1 redict-tools 7.3.2+ds-1ubuntu0.1 Jan 16, 2026
redict-tools · Ubuntu 25.10 (questing) 7.3.5+ds-1ubuntu0.1 redict-tools 7.3.5+ds-1ubuntu0.1 Oct 3, 2025
redis · Debian 12.15 (bookworm) 5:7.0.15-1~deb12u6 DEBIAN-CVE-2025-49844 Oct 3, 2025
redis · Debian 13.5 (trixie) 5:8.0.2-3+deb13u1 DEBIAN-CVE-2025-49844 Oct 3, 2025
redis · Debian 14 5:8.0.4-1 DEBIAN-CVE-2025-49844 Oct 3, 2025
redis · RHEL 8 0:6.2.20-1.module+el8.10.0+23551+d4cd15d7 RHSA-2025:19238 Oct 29, 2025
redis · RHEL 9 0:7.2.11-1.module+el9.7.0+23559+d075163a RHSA-2025:20955 Nov 11, 2025
redis · Ubuntu 18.04.6 LTS (bionic) 5:4.0.9-1ubuntu0.2+esm6 redis 5:4.0.9-1ubuntu0.2+esm6 Oct 3, 2025
redis · Ubuntu 20.04 LTS (focal) 5:5.0.7-2ubuntu0.1+esm4 redis 5:5.0.7-2ubuntu0.1+esm4 Oct 3, 2025
redis · Ubuntu 24.04.5 LTS (noble) 5:7.0.15-1ubuntu0.24.04.2 redis 5:7.0.15-1ubuntu0.24.04.2 Oct 3, 2025
redis · Ubuntu 25.04 (plucky) 5:7.0.15-3ubuntu0.1 redis 5:7.0.15-3ubuntu0.1 Jan 16, 2026
redis · Ubuntu 25.10 (questing) 5:8.0.2-3ubuntu0.25.10.1 redis 5:8.0.2-3ubuntu0.25.10.1 Oct 3, 2025
redis · almalinux 8 6.2.20-1.module_el8.10.0+4056+739731b0 ALSA-2025:19238 Oct 29, 2025
redis · almalinux 9 7.2.11-1.module_el9.6.0+188+92104ce8 ALSA-2025:20955 Nov 11, 2025
redis · ol 8 0:6.2.19-1.0.2.module+el8.10.0+90680+2298f620 ELSA-2025-20656 Oct 8, 2025
redis · ol 9 0:7.2.10-1.0.2.module+el9.6.0+90681+1a77fe5a ELSA-2025-20654 Oct 8, 2025
redis · opensuse-leap 15.6 7.2.4-150600.3.18.1 SUSE-SU-2025:03505-1 Oct 9, 2025
redis · opensuse-leap 16.0 8.2.3-bp160.1.1 OPENSUSE-SU-2025:20121-1 Dec 30, 2025
redis · rocky 8 0:6.2.20-1.module+el8.10.0+2081+450a296c RLSA-2025:19238 Nov 29, 2025
redis · rocky 9 0:7.2.11-1.module+el9.7.0+40013+17379f63 RLSA-2025:20955 Nov 29, 2025
redis · sles 15.6 7.2.4-150600.3.18.1 SUSE-SU-2025:03505-1 Oct 9, 2025
redis-devel · RHEL 8 0:6.2.20-1.module+el8.10.0+23551+d4cd15d7 RHSA-2025:19238 Oct 29, 2025
redis-devel · RHEL 9 0:7.2.11-1.module+el9.7.0+23559+d075163a RHSA-2025:20955 Nov 11, 2025
redis-devel · almalinux 8 6.2.20-1.module_el8.10.0+4056+739731b0 ALSA-2025:19238 Oct 29, 2025
redis-devel · almalinux 9 7.2.11-1.module_el9.6.0+188+92104ce8 ALSA-2025:20955 Nov 11, 2025
redis-devel · ol 8 0:6.2.19-1.0.2.module+el8.10.0+90680+2298f620 ELSA-2025-20656 Oct 8, 2025
redis-devel · ol 9 0:7.2.10-1.0.2.module+el9.6.0+90681+1a77fe5a ELSA-2025-20654 Oct 8, 2025
redis-doc · RHEL 8 0:6.2.20-1.module+el8.10.0+23551+d4cd15d7 RHSA-2025:19238 Oct 29, 2025
redis-doc · RHEL 9 0:7.2.11-1.module+el9.7.0+23559+d075163a RHSA-2025:20955 Nov 11, 2025
redis-doc · almalinux 8 6.2.20-1.module_el8.10.0+4056+739731b0 ALSA-2025:19238 Oct 29, 2025
redis-doc · almalinux 9 7.2.11-1.module_el9.6.0+188+92104ce8 ALSA-2025:20955 Nov 11, 2025
redis-doc · ol 8 0:6.2.19-1.0.2.module+el8.10.0+90680+2298f620 ELSA-2025-20656 Oct 8, 2025
redis-doc · ol 9 0:7.2.10-1.0.2.module+el9.6.0+90681+1a77fe5a ELSA-2025-20654 Oct 8, 2025
redis-sentinel · Ubuntu 18.04.6 LTS (bionic) 5:4.0.9-1ubuntu0.2+esm6 redis-sentinel 5:4.0.9-1ubuntu0.2+esm6 Oct 3, 2025
redis-sentinel · Ubuntu 20.04 LTS (focal) 5:5.0.7-2ubuntu0.1+esm4 redis-sentinel 5:5.0.7-2ubuntu0.1+esm4 Oct 3, 2025
redis-sentinel · Ubuntu 24.04.5 LTS (noble) 5:7.0.15-1ubuntu0.24.04.2 redis-sentinel 5:7.0.15-1ubuntu0.24.04.2 Oct 3, 2025
redis-sentinel · Ubuntu 25.04 (plucky) 5:7.0.15-3ubuntu0.1 redis-sentinel 5:7.0.15-3ubuntu0.1 Jan 16, 2026
redis-sentinel · Ubuntu 25.10 (questing) 5:8.0.2-3ubuntu0.25.10.1 redis-sentinel 5:8.0.2-3ubuntu0.25.10.1 Oct 3, 2025
redis-server · Ubuntu 18.04.6 LTS (bionic) 5:4.0.9-1ubuntu0.2+esm6 redis-server 5:4.0.9-1ubuntu0.2+esm6 Oct 3, 2025
redis-server · Ubuntu 20.04 LTS (focal) 5:5.0.7-2ubuntu0.1+esm4 redis-server 5:5.0.7-2ubuntu0.1+esm4 Oct 3, 2025
redis-server · Ubuntu 24.04.5 LTS (noble) 5:7.0.15-1ubuntu0.24.04.2 redis-server 5:7.0.15-1ubuntu0.24.04.2 Oct 3, 2025
redis-server · Ubuntu 25.04 (plucky) 5:7.0.15-3ubuntu0.1 redis-server 5:7.0.15-3ubuntu0.1 Jan 16, 2026
redis-server · Ubuntu 25.10 (questing) 5:8.0.2-3ubuntu0.25.10.1 redis-server 5:8.0.2-3ubuntu0.25.10.1 Oct 3, 2025
redis-tools · Ubuntu 18.04.6 LTS (bionic) 5:4.0.9-1ubuntu0.2+esm6 redis-tools 5:4.0.9-1ubuntu0.2+esm6 Oct 3, 2025
redis-tools · Ubuntu 20.04 LTS (focal) 5:5.0.7-2ubuntu0.1+esm4 redis-tools 5:5.0.7-2ubuntu0.1+esm4 Oct 3, 2025
redis-tools · Ubuntu 24.04.5 LTS (noble) 5:7.0.15-1ubuntu0.24.04.2 redis-tools 5:7.0.15-1ubuntu0.24.04.2 Oct 3, 2025
redis-tools · Ubuntu 25.04 (plucky) 5:7.0.15-3ubuntu0.1 redis-tools 5:7.0.15-3ubuntu0.1 Jan 16, 2026
redis-tools · Ubuntu 25.10 (questing) 5:8.0.2-3ubuntu0.25.10.1 redis-tools 5:8.0.2-3ubuntu0.25.10.1 Oct 3, 2025
redis6 · amzn 2023 6.2.20-2.amzn2023.0.1 ALAS2023-2025-1222 Oct 14, 2025
redis6-debuginfo · amzn 2023 6.2.20-2.amzn2023.0.1 ALAS2023-2025-1222 Oct 14, 2025
redis6-debugsource · amzn 2023 6.2.20-2.amzn2023.0.1 ALAS2023-2025-1222 Oct 14, 2025
redis6-devel · amzn 2023 6.2.20-2.amzn2023.0.1 ALAS2023-2025-1222 Oct 14, 2025
redis6-doc · amzn 2023 6.2.20-2.amzn2023.0.1 ALAS2023-2025-1222 Oct 14, 2025
redis7 · opensuse-leap 15.6 7.0.8-150600.8.19.1 SUSE-SU-2025:03500-1 Oct 8, 2025
redis7 · sles 15.6 7.0.8-150600.8.19.1 SUSE-SU-2025:03500-1 Oct 8, 2025
valkey · Debian 13.5 (trixie) 8.1.1+dfsg1-3+deb13u1 DEBIAN-CVE-2025-49844 Oct 3, 2025
valkey · Debian 14 8.1.4+dfsg1-1 DEBIAN-CVE-2025-49844 Oct 3, 2025
valkey · RHEL 10 8.0.6-2.el10_1 RHSA-2025:21936 Oct 3, 2025
valkey · RHEL 9 0:8.0.6-2.el9_7 RHSA-2025:21916 Nov 24, 2025
valkey · almalinux 10 8.0.6-2.el10_1 ALSA-2025:21936 Nov 24, 2025
valkey · almalinux 9 8.0.6-2.el9_7 ALSA-2025:21916 Nov 24, 2025
valkey · amzn 2023 8.0.6-3.amzn2023.0.2 ALAS2023-2025-1221 Oct 14, 2025
valkey · ol 10 0:8.0.4-1.0.1.el10_0 ELSA-2025-20653 Oct 8, 2025
valkey · ol 9 0:8.0.6-2.el9_7 ELSA-2025-21916 Nov 25, 2025
valkey · opensuse-leap 15.6 8.0.6-150600.13.17.1 SUSE-SU-2025:03499-1 Oct 8, 2025
valkey · opensuse-leap 16.0 8.0.6-160000.1.1 OPENSUSE-SU-2026:20003-1 Jan 7, 2026
valkey · rocky 10 0:8.0.6-2.el10_1 RLSA-2025:21936 Nov 25, 2025
valkey · rocky 9 0:8.0.6-2.el9_7 RLSA-2025:21916 Nov 25, 2025
valkey · sles 15.6 8.0.6-150600.13.17.1 SUSE-SU-2025:03499-1 Oct 8, 2025
valkey · sles 15.7 8.0.6-150700.3.11.1 SUSE-SU-2025:03502-1 Oct 8, 2025
valkey · sles 16.0 8.0.6-160000.1.1 SUSE-SU-2026:20022-1 Jan 7, 2026
valkey-debuginfo · amzn 2023 8.0.6-3.amzn2023.0.2 ALAS2023-2025-1221 Oct 14, 2025
valkey-debugsource · amzn 2023 8.0.6-3.amzn2023.0.2 ALAS2023-2025-1221 Oct 14, 2025
valkey-devel · RHEL 9 0:8.0.6-2.el9_7 RHSA-2025:21916 Nov 24, 2025
valkey-devel · almalinux 10 8.0.6-2.el10_1 ALSA-2025:21936 Nov 24, 2025
valkey-devel · almalinux 9 8.0.6-2.el9_7 ALSA-2025:21916 Nov 24, 2025
valkey-devel · amzn 2023 8.0.6-3.amzn2023.0.2 ALAS2023-2025-1221 Oct 14, 2025
valkey-devel · ol 10 0:8.0.4-1.0.1.el10_0 ELSA-2025-20653 Oct 8, 2025
valkey-devel · ol 9 0:8.0.6-2.el9_7 ELSA-2025-21916 Nov 25, 2025
valkey-redis-compat · Ubuntu 24.04.5 LTS (noble) 7.2.11+dfsg1-0ubuntu0.2 valkey-redis-compat 7.2.11+dfsg1-0ubuntu0.2 Oct 3, 2025
valkey-redis-compat · Ubuntu 25.04 (plucky) 8.0.6+dfsg1-0ubuntu0.2 valkey-redis-compat 8.0.6+dfsg1-0ubuntu0.2 Jan 16, 2026
valkey-sentinel · Ubuntu 24.04.5 LTS (noble) 7.2.11+dfsg1-0ubuntu0.2 valkey-sentinel 7.2.11+dfsg1-0ubuntu0.2 Oct 3, 2025
valkey-sentinel · Ubuntu 25.04 (plucky) 8.0.6+dfsg1-0ubuntu0.2 valkey-sentinel 8.0.6+dfsg1-0ubuntu0.2 Jan 16, 2026
valkey-sentinel · Ubuntu 25.10 (questing) 8.1.4+dfsg1-0ubuntu0.2 valkey-sentinel 8.1.4+dfsg1-0ubuntu0.2 Oct 3, 2025
valkey-server · Ubuntu 24.04.5 LTS (noble) 7.2.11+dfsg1-0ubuntu0.2 valkey-server 7.2.11+dfsg1-0ubuntu0.2 Oct 3, 2025
valkey-server · Ubuntu 25.04 (plucky) 8.0.6+dfsg1-0ubuntu0.2 valkey-server 8.0.6+dfsg1-0ubuntu0.2 Jan 16, 2026
valkey-server · Ubuntu 25.10 (questing) 8.1.4+dfsg1-0ubuntu0.2 valkey-server 8.1.4+dfsg1-0ubuntu0.2 Oct 3, 2025
valkey-tools · Ubuntu 24.04.5 LTS (noble) 7.2.11+dfsg1-0ubuntu0.2 valkey-tools 7.2.11+dfsg1-0ubuntu0.2 Oct 3, 2025
valkey-tools · Ubuntu 25.04 (plucky) 8.0.6+dfsg1-0ubuntu0.2 valkey-tools 8.0.6+dfsg1-0ubuntu0.2 Jan 16, 2026
valkey-tools · Ubuntu 25.10 (questing) 8.1.4+dfsg1-0ubuntu0.2 valkey-tools 8.1.4+dfsg1-0ubuntu0.2 Oct 3, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.