CVE-2025-49844
Fixed in a distro release EPSS 83%CVSS 10.0
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.
Products: Redis
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | valkey | 8.0.6-1.el10_0 |
| AlmaLinux 10 | valkey | 8.0.6-2.el10_1 |
| AlmaLinux 10 | valkey-devel | 8.0.6-1.el10_0 |
| AlmaLinux 10 | valkey-devel | 8.0.6-2.el10_1 |
| AlmaLinux 8 | redis | 6.2.20-1.module_el8.10.0+4056+739731b0 |
| AlmaLinux 8 | redis-devel | 6.2.20-1.module_el8.10.0+4056+739731b0 |
| AlmaLinux 8 | redis-doc | 6.2.20-1.module_el8.10.0+4056+739731b0 |
| AlmaLinux 9 | redis | 6.2.20-1.el9_6 |
| AlmaLinux 9 | redis | 7.2.11-1.module_el9.6.0+188+92104ce8 |
| AlmaLinux 9 | redis | 6.2.20-2.el9_7 |
| AlmaLinux 9 | redis-devel | 7.2.11-1.module_el9.6.0+188+92104ce8 |
| AlmaLinux 9 | redis-devel | 6.2.20-2.el9_7 |
| AlmaLinux 9 | redis-devel | 6.2.20-1.el9_6 |
| AlmaLinux 9 | redis-doc | 6.2.20-1.el9_6 |
| AlmaLinux 9 | redis-doc | 7.2.11-1.module_el9.6.0+188+92104ce8 |
| AlmaLinux 9 | redis-doc | 6.2.20-2.el9_7 |
| AlmaLinux 9 | valkey | 8.0.6-2.el9_7 |
| AlmaLinux 9 | valkey-devel | 8.0.6-2.el9_7 |
| Alpine 3.20 | valkey | 7.2.11-r0 |
| Alpine 3.21 | valkey | 7.2.11-r0 |
| Alpine 3.22 | valkey | 8.1.4-r0 |
| Alpine 3.23 | valkey | 8.1.4-r0 |
| Alpine 3.24 | valkey | 8.1.4-r0 |
| Chainguard | py3-redis | 0 |
| Chainguard | py3.10-redis | 0 |
| Chainguard | py3.11-redis | 0 |
| Chainguard | py3.12-redis | 0 |
| Chainguard | py3.13-redis | 0 |
| Debian 11 | redis | 5:6.0.16-1+deb11u8 |
| Debian 12 | redis | 5:7.0.15-1~deb12u6 |
| Debian 13 | redis | 5:8.0.2-3+deb13u1 |
| Debian 13 | valkey | 8.1.1+dfsg1-3+deb13u1 |
| Debian 14 | redict | 7.3.6+ds-1 |
| Debian 14 | redis | 5:8.0.4-1 |
| Debian 14 | valkey | 8.1.4+dfsg1-1 |
| Red Hat Enterprise Linux 10.0 | valkey | 0:8.0.6-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | valkey-debuginfo | 0:8.0.6-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | valkey-debugsource | 0:8.0.6-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | valkey-devel | 0:8.0.6-1.el10_0 |
| Red Hat Enterprise Linux 10.1 | valkey | 0:8.0.6-2.el10_1 |
| Red Hat Enterprise Linux 10.1 | valkey-debuginfo | 0:8.0.6-2.el10_1 |
| Red Hat Enterprise Linux 10.1 | valkey-debugsource | 0:8.0.6-2.el10_1 |
| Red Hat Enterprise Linux 10.1 | valkey-devel | 0:8.0.6-2.el10_1 |
| Red Hat Enterprise Linux 8 | redis | 0:6.2.20-1.module+el8.10.0+23551+d4cd15d7 |
| Red Hat Enterprise Linux 8 | redis-debuginfo | 0:6.2.20-1.module+el8.10.0+23551+d4cd15d7 |
| Red Hat Enterprise Linux 8 | redis-debugsource | 0:6.2.20-1.module+el8.10.0+23551+d4cd15d7 |
| Red Hat Enterprise Linux 8 | redis-devel | 0:6.2.20-1.module+el8.10.0+23551+d4cd15d7 |
| Red Hat Enterprise Linux 8 | redis-doc | 0:6.2.20-1.module+el8.10.0+23551+d4cd15d7 |
| Red Hat Enterprise Linux 9 | redis | 0:7.2.11-1.module+el9.7.0+23559+d075163a |
| Red Hat Enterprise Linux 9 | redis | 0:7.2.11-1.module+el9.6.0+23552+a3d3d132 |
| Red Hat Enterprise Linux 9 | redis | 0:6.2.20-2.el9_7 |
| Red Hat Enterprise Linux 9 | redis | 0:6.2.20-1.el9_6 |
| Red Hat Enterprise Linux 9 | redis-debuginfo | 0:6.2.20-1.el9_6 |
| Red Hat Enterprise Linux 9 | redis-debuginfo | 0:7.2.11-1.module+el9.7.0+23559+d075163a |
| Red Hat Enterprise Linux 9 | redis-debuginfo | 0:7.2.11-1.module+el9.6.0+23552+a3d3d132 |
| Red Hat Enterprise Linux 9 | redis-debuginfo | 0:6.2.20-2.el9_7 |
| Red Hat Enterprise Linux 9 | redis-debugsource | 0:7.2.11-1.module+el9.6.0+23552+a3d3d132 |
| Red Hat Enterprise Linux 9 | redis-debugsource | 0:7.2.11-1.module+el9.7.0+23559+d075163a |
| Red Hat Enterprise Linux 9 | redis-debugsource | 0:6.2.20-2.el9_7 |
| Red Hat Enterprise Linux 9 | redis-debugsource | 0:6.2.20-1.el9_6 |
| Red Hat Enterprise Linux 9 | redis-devel | 0:6.2.20-2.el9_7 |
| Red Hat Enterprise Linux 9 | redis-devel | 0:6.2.20-1.el9_6 |
| Red Hat Enterprise Linux 9 | redis-devel | 0:7.2.11-1.module+el9.7.0+23559+d075163a |
| Red Hat Enterprise Linux 9 | redis-devel | 0:7.2.11-1.module+el9.6.0+23552+a3d3d132 |
| Red Hat Enterprise Linux 9 | redis-doc | 0:7.2.11-1.module+el9.7.0+23559+d075163a |
| Red Hat Enterprise Linux 9 | redis-doc | 0:6.2.20-2.el9_7 |
| Red Hat Enterprise Linux 9 | redis-doc | 0:7.2.11-1.module+el9.6.0+23552+a3d3d132 |
| Red Hat Enterprise Linux 9 | redis-doc | 0:6.2.20-1.el9_6 |
| Red Hat Enterprise Linux 9 | valkey | 0:8.0.6-2.el9_7 |
| Red Hat Enterprise Linux 9 | valkey-debuginfo | 0:8.0.6-2.el9_7 |
| Red Hat Enterprise Linux 9 | valkey-debugsource | 0:8.0.6-2.el9_7 |
| Red Hat Enterprise Linux 9 | valkey-devel | 0:8.0.6-2.el9_7 |
| Red Hat rhel aus 8.4 | redis | 0:6.0.9-5.module+el8.4.0+23585+fb4eb024.5 |
| Red Hat rhel aus 8.4 | redis-debuginfo | 0:6.0.9-5.module+el8.4.0+23585+fb4eb024.5 |
| Red Hat rhel aus 8.4 | redis-debugsource | 0:6.0.9-5.module+el8.4.0+23585+fb4eb024.5 |
| Red Hat rhel aus 8.4 | redis-devel | 0:6.0.9-5.module+el8.4.0+23585+fb4eb024.5 |
| Red Hat rhel aus 8.4 | redis-doc | 0:6.0.9-5.module+el8.4.0+23585+fb4eb024.5 |
| Red Hat rhel aus 8.6 | redis | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel aus 8.6 | redis-debuginfo | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel aus 8.6 | redis-debugsource | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel aus 8.6 | redis-devel | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel aus 8.6 | redis-doc | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel e4s 8.6 | redis | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel e4s 8.6 | redis-debuginfo | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel e4s 8.6 | redis-debugsource | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel e4s 8.6 | redis-devel | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel e4s 8.6 | redis-doc | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel e4s 8.8 | redis | 0:6.2.7-1.module+el8.8.0+23580+a818c120.6 |
| Red Hat rhel e4s 8.8 | redis-debuginfo | 0:6.2.7-1.module+el8.8.0+23580+a818c120.6 |
| Red Hat rhel e4s 8.8 | redis-debugsource | 0:6.2.7-1.module+el8.8.0+23580+a818c120.6 |
| Red Hat rhel e4s 8.8 | redis-devel | 0:6.2.7-1.module+el8.8.0+23580+a818c120.6 |
| Red Hat rhel e4s 8.8 | redis-doc | 0:6.2.7-1.module+el8.8.0+23580+a818c120.6 |
| Red Hat rhel e4s 9.0 | redis | 0:6.2.6-1.el9_0.5 |
| Red Hat rhel e4s 9.0 | redis-debuginfo | 0:6.2.6-1.el9_0.5 |
| Red Hat rhel e4s 9.0 | redis-debugsource | 0:6.2.6-1.el9_0.5 |
| Red Hat rhel e4s 9.0 | redis-devel | 0:6.2.6-1.el9_0.5 |
| Red Hat rhel e4s 9.0 | redis-doc | 0:6.2.6-1.el9_0.5 |
| Red Hat rhel e4s 9.2 | redis | 0:6.2.7-1.el9_2.5 |
| Red Hat rhel e4s 9.2 | redis-debuginfo | 0:6.2.7-1.el9_2.5 |
| Red Hat rhel e4s 9.2 | redis-debugsource | 0:6.2.7-1.el9_2.5 |
| Red Hat rhel e4s 9.2 | redis-devel | 0:6.2.7-1.el9_2.5 |
| Red Hat rhel e4s 9.2 | redis-doc | 0:6.2.7-1.el9_2.5 |
| Red Hat rhel eus 9.4 | redis | 0:6.2.7-1.el9_4.5 |
| Red Hat rhel eus 9.4 | redis | 0:7.0.12-2.module+el9.4.0+23556+1eb46139.6 |
| Red Hat rhel eus 9.4 | redis-debuginfo | 0:7.0.12-2.module+el9.4.0+23556+1eb46139.6 |
| Red Hat rhel eus 9.4 | redis-debuginfo | 0:6.2.7-1.el9_4.5 |
| Red Hat rhel eus 9.4 | redis-debugsource | 0:7.0.12-2.module+el9.4.0+23556+1eb46139.6 |
| Red Hat rhel eus 9.4 | redis-debugsource | 0:6.2.7-1.el9_4.5 |
| Red Hat rhel eus 9.4 | redis-devel | 0:7.0.12-2.module+el9.4.0+23556+1eb46139.6 |
| Red Hat rhel eus 9.4 | redis-devel | 0:6.2.7-1.el9_4.5 |
| Red Hat rhel eus 9.4 | redis-doc | 0:7.0.12-2.module+el9.4.0+23556+1eb46139.6 |
| Red Hat rhel eus 9.4 | redis-doc | 0:6.2.7-1.el9_4.5 |
| Red Hat rhel eus long life 8.4 | redis | 0:6.0.9-5.module+el8.4.0+23585+fb4eb024.5 |
| Red Hat rhel eus long life 8.4 | redis-debuginfo | 0:6.0.9-5.module+el8.4.0+23585+fb4eb024.5 |
| Red Hat rhel eus long life 8.4 | redis-debugsource | 0:6.0.9-5.module+el8.4.0+23585+fb4eb024.5 |
| Red Hat rhel eus long life 8.4 | redis-devel | 0:6.0.9-5.module+el8.4.0+23585+fb4eb024.5 |
| Red Hat rhel eus long life 8.4 | redis-doc | 0:6.0.9-5.module+el8.4.0+23585+fb4eb024.5 |
| Red Hat rhel tus 8.6 | redis | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel tus 8.6 | redis-debuginfo | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel tus 8.6 | redis-debugsource | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel tus 8.6 | redis-devel | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel tus 8.6 | redis-doc | 0:6.0.9-5.module+el8.6.0+23584+001f3496.6 |
| Red Hat rhel tus 8.8 | redis | 0:6.2.7-1.module+el8.8.0+23580+a818c120.6 |
| Red Hat rhel tus 8.8 | redis-debuginfo | 0:6.2.7-1.module+el8.8.0+23580+a818c120.6 |
| Red Hat rhel tus 8.8 | redis-debugsource | 0:6.2.7-1.module+el8.8.0+23580+a818c120.6 |
| Red Hat rhel tus 8.8 | redis-devel | 0:6.2.7-1.module+el8.8.0+23580+a818c120.6 |
| Red Hat rhel tus 8.8 | redis-doc | 0:6.2.7-1.module+el8.8.0+23580+a818c120.6 |
| Rocky Linux 10 | valkey | 0:8.0.6-2.el10_1 |
| Rocky Linux 10 | valkey | 0:8.0.6-1.el10_0 |
| Rocky Linux 8 | redis | 0:6.2.20-1.module+el8.10.0+2081+450a296c |
| Rocky Linux 9 | redis | 0:6.2.20-1.el9_6 |
| Rocky Linux 9 | redis | 0:6.2.20-2.el9_7 |
| Rocky Linux 9 | redis | 0:7.2.11-1.module+el9.7.0+40013+17379f63 |
| Rocky Linux 9 | valkey | 0:8.0.6-2.el9_7 |
| SUSE Enterprise Storage 7.1 | redis | 6.0.14-150200.6.43.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | redis | 6.0.14-150200.6.43.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | redis | 6.2.6-150400.3.40.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | redis | 6.2.6-150400.3.40.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | redis | 6.2.6-150400.3.40.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | redis7 | 7.0.8-150500.3.24.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | redis | 6.2.6-150400.3.40.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | redis7 | 7.0.8-150500.3.24.1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | redis | 7.2.4-150600.3.18.1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | redis7 | 7.0.8-150600.8.19.1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | valkey | 8.0.6-150600.13.17.1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | valkey | 8.0.6-150700.3.11.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | redis | 6.0.14-150200.6.43.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | redis | 6.2.6-150400.3.40.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | redis | 6.2.6-150400.3.40.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | redis7 | 7.0.8-150500.3.24.1 |
| SUSE Linux Enterprise Server 16.0 | valkey | 8.0.6-160000.1.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | redis | 6.0.14-150200.6.43.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | redis | 6.2.6-150400.3.40.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | redis | 6.2.6-150400.3.40.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | redis7 | 7.0.8-150500.3.24.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | valkey | 8.0.6-160000.1.1 |
| SUSE Manager Proxy LTS 4.3 | redis | 6.2.6-150400.3.40.1 |
| SUSE Manager Server LTS 4.3 | redis | 6.2.6-150400.3.40.1 |
| Ubuntu 14.04 LTS | lua5.1 | no fix |
| Ubuntu 16.04 LTS | lua50 | no fix |
| Ubuntu 18.04 LTS | lua5.1 | no fix |
| Ubuntu 18.04 LTS | lua50 | no fix |
| Ubuntu 20.04 LTS | lua50 | no fix |
| Ubuntu 22.04 LTS | redis | 5:6.0.16-1ubuntu1.1 |
| Ubuntu 24.04 LTS | lua5.1 | no fix |
| Ubuntu 24.04 LTS | redis | 5:7.0.15-1ubuntu0.24.04.4 |
| Ubuntu 24.04 LTS | redis | 5:7.0.15-1ubuntu0.24.04.2 |
| Ubuntu 24.04 LTS | valkey | 7.2.11+dfsg1-0ubuntu0.2 |
| Ubuntu 25.10 | lua5.1 | no fix |
| Ubuntu 25.10 | redict | 7.3.5+ds-1ubuntu0.1 |
| Ubuntu 25.10 | redis | 5:8.0.2-3ubuntu0.25.10.1 |
| Ubuntu 25.10 | valkey | 8.1.4+dfsg1-0ubuntu0.2 |
| Ubuntu 26.04 LTS | lua5.1 | no fix |
| Ubuntu 26.10 | lua5.1 | no fix |
| Ubuntu Pro 14.04 LTS | redis | 2:2.8.4-2ubuntu0.2+esm5 |
| Ubuntu Pro 16.04 LTS | lua5.1 | 5.1.5-8ubuntu1+esm1 |
| Ubuntu Pro 16.04 LTS | redis | 2:3.0.6-1ubuntu0.4+esm4 |
| Ubuntu Pro 16.04 LTS | redis | 2:3.0.6-1ubuntu0.4+esm5 |
| Ubuntu Pro 18.04 LTS | redis | 5:4.0.9-1ubuntu0.2+esm6 |
| Ubuntu Pro 18.04 LTS | redis | 5:4.0.9-1ubuntu0.2+esm7 |
| Ubuntu Pro 20.04 LTS | lua-bitop | 1.0.2-5ubuntu0.20.04.1~esm2 |
| Ubuntu Pro 20.04 LTS | lua-cjson | 2.1.0+dfsg-2.1ubuntu0.20.04.1~esm2 |
| 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 |
| Ubuntu Pro 22.04 LTS | lua-bitop | 1.0.2-5ubuntu0.22.04.1~esm2 |
| Ubuntu Pro 22.04 LTS | lua-cjson | 2.1.0+dfsg-2.1ubuntu0.22.04.1~esm2 |
| Ubuntu Pro 22.04 LTS | lua5.1 | 5.1.5-8.1ubuntu0.22.04.1~esm1 |
| openSUSE Leap 15.6 | redis | 7.2.4-150600.3.18.1 |
| openSUSE Leap 15.6 | redis7 | 7.0.8-150600.8.19.1 |
| openSUSE Leap 15.6 | valkey | 8.0.6-150600.13.17.1 |
| openSUSE Leap 16.0 | redis | 8.2.3-bp160.1.1 |
| openSUSE Leap 16.0 | valkey | 8.0.6-160000.1.1 |
| openSUSE Tumbleweed | redis | 8.2.2-1.1 |
| openSUSE Tumbleweed | valkey | 8.1.4-1.1 |