# CVE-2024-46981: redis: Redis is an open source, in-memory database that persists on disk

CVE-2024-46981 is fixed in 18 products on 1 platform, first by redis 5:4.0.9-1ubuntu0.2+esm5, released January 6, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-46981
- Priority: High
- CVSS: 9.8 (Medium)
- EPSS: 0.0818
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 6, 2025

## Description

Redis is an open source, in-memory database that persists on disk. Anauthenticated user may use a specially crafted Lua script to manipulate thegarbage collector and potentially lead to remote code execution. Theproblem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional workaround tomitigate the problem without patching the redis-server executable is toprevent users from executing Lua scripts. This can be done using ACL torestrict EVAL and EVALSHA commands.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | redict Debian 14 | 7.3.2+ds-1 | [DEBIAN-CVE-2024-46981](https://patchblox.com/security/data/fix/linux/debian-cve-2024-46981.md) | Jan 6, 2025 |
| Linux | redis Debian 11.6 (bullseye) | 5:6.0.16-1+deb11u5 | [DLA-4025-1](https://patchblox.com/security/data/fix/linux/dla-4025-1.md) | Jan 20, 2025 |
| Linux | redis Debian 12.15 (bookworm) | 5:7.0.15-1~deb12u3 | [DSA-5856-1](https://patchblox.com/security/data/fix/linux/dsa-5856-1.md) | Jan 30, 2025 |
| Linux | redis Debian 13.5 (trixie) | 5:7.0.15-3 | [DEBIAN-CVE-2024-46981](https://patchblox.com/security/data/fix/linux/debian-cve-2024-46981.md) | Jan 6, 2025 |
| Linux | redis Debian 14 | 5:7.0.15-3 | [DEBIAN-CVE-2024-46981](https://patchblox.com/security/data/fix/linux/debian-cve-2024-46981.md) | Jan 6, 2025 |
| Linux | redis RHEL 8 | 0:6.2.17-1.module+el8.10.0+22680+748527fd | [RHSA-2025:0595](https://patchblox.com/security/data/fix/linux/rhsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis RHEL 9 | 0:6.2.17-1.el9_5 | [RHSA-2025:0693](https://patchblox.com/security/data/fix/linux/rhsa-2025-0693.md) | Jan 27, 2025 |
| Linux | redis Ubuntu 18.04.6 LTS (bionic) | 5:4.0.9-1ubuntu0.2+esm5 | [redis 5:4.0.9-1ubuntu0.2+esm5](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-redis-5-4.0.9-1ubuntu0.2-esm5.md) | Jan 6, 2025 |
| Linux | redis Ubuntu 20.04 LTS (focal) | 5:5.0.7-2ubuntu0.1+esm3 | [redis 5:5.0.7-2ubuntu0.1+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-redis-5-5.0.7-2ubuntu0.1-esm3.md) | Jan 6, 2025 |
| Linux | redis Ubuntu 22.04.1 LTS (jammy) | 5:6.0.16-1ubuntu1+esm2 | [redis 5:6.0.16-1ubuntu1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-redis-5-6.0.16-1ubuntu1-esm2.md) | Jan 6, 2025 |
| Linux | redis Ubuntu 24.04.5 LTS (noble) | 5:7.0.15-1ubuntu0.24.04.1 | [redis 5:7.0.15-1ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-redis-5-7.0.15-1ubuntu0.24.04.1.md) | Jan 6, 2025 |
| Linux | redis Ubuntu 24.10 (oracular) | 5:7.0.15-1ubuntu0.24.10.1 | [redis 5:7.0.15-1ubuntu0.24.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-redis-5-7.0.15-1ubuntu0.24.10.1.md) | Jan 16, 2026 |
| Linux | redis almalinux 8 | 6.2.17-1.module_el8.10.0+3946+3de613d5 | [ALSA-2025:0595](https://patchblox.com/security/data/fix/linux/alsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis almalinux 9 | 6.2.17-1.el9_5 | [ALSA-2025:0693](https://patchblox.com/security/data/fix/linux/alsa-2025-0693.md) | Jan 27, 2025 |
| Linux | redis ol 8 | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | [ELSA-2025-0595](https://patchblox.com/security/data/fix/linux/elsa-2025-0595.md) | Jan 23, 2025 |
| Linux | redis ol 9 | 0:7.2.7-1.module+el9.5.0+90492+80cb7599 | [ELSA-2025-0692](https://patchblox.com/security/data/fix/linux/elsa-2025-0692.md) | Jan 27, 2025 |
| Linux | redis opensuse-leap 15.6 | 7.2.4-150600.3.6.1 | [SUSE-SU-2025:0163-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0163-1.md) | Jan 17, 2025 |
| Linux | redis rocky 8 | 0:6.2.17-1.module+el8.10.0+1923+5b85c6a7 | [RLSA-2025:0595](https://patchblox.com/security/data/fix/linux/rlsa-2025-0595.md) | Feb 13, 2025 |
| Linux | redis rocky 9 | 0:6.2.17-1.el9_5 | [RLSA-2025:0693](https://patchblox.com/security/data/fix/linux/rlsa-2025-0693.md) | Mar 17, 2025 |
| Linux | redis sles 15.6 | 7.2.4-150600.3.6.1 | [SUSE-SU-2025:0163-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0163-1.md) | Jan 17, 2025 |
| Linux | redis-devel RHEL 8 | 0:6.2.17-1.module+el8.10.0+22680+748527fd | [RHSA-2025:0595](https://patchblox.com/security/data/fix/linux/rhsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis-devel RHEL 9 | 0:6.2.17-1.el9_5 | [RHSA-2025:0693](https://patchblox.com/security/data/fix/linux/rhsa-2025-0693.md) | Jan 27, 2025 |
| Linux | redis-devel almalinux 8 | 6.2.17-1.module_el8.10.0+3946+3de613d5 | [ALSA-2025:0595](https://patchblox.com/security/data/fix/linux/alsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis-devel almalinux 9 | 6.2.17-1.el9_5 | [ALSA-2025:0693](https://patchblox.com/security/data/fix/linux/alsa-2025-0693.md) | Jan 27, 2025 |
| Linux | redis-devel ol 8 | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | [ELSA-2025-0595](https://patchblox.com/security/data/fix/linux/elsa-2025-0595.md) | Jan 23, 2025 |
| Linux | redis-devel ol 9 | 0:7.2.7-1.module+el9.5.0+90492+80cb7599 | [ELSA-2025-0692](https://patchblox.com/security/data/fix/linux/elsa-2025-0692.md) | Jan 27, 2025 |
| Linux | redis-doc RHEL 8 | 0:6.2.17-1.module+el8.10.0+22680+748527fd | [RHSA-2025:0595](https://patchblox.com/security/data/fix/linux/rhsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis-doc RHEL 9 | 0:6.2.17-1.el9_5 | [RHSA-2025:0693](https://patchblox.com/security/data/fix/linux/rhsa-2025-0693.md) | Jan 27, 2025 |
| Linux | redis-doc almalinux 8 | 6.2.17-1.module_el8.10.0+3946+3de613d5 | [ALSA-2025:0595](https://patchblox.com/security/data/fix/linux/alsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis-doc almalinux 9 | 6.2.17-1.el9_5 | [ALSA-2025:0693](https://patchblox.com/security/data/fix/linux/alsa-2025-0693.md) | Jan 27, 2025 |
| Linux | redis-doc ol 8 | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | [ELSA-2025-0595](https://patchblox.com/security/data/fix/linux/elsa-2025-0595.md) | Jan 23, 2025 |
| Linux | redis-doc ol 9 | 0:7.2.7-1.module+el9.5.0+90492+80cb7599 | [ELSA-2025-0692](https://patchblox.com/security/data/fix/linux/elsa-2025-0692.md) | Jan 27, 2025 |
| Linux | redis-sentinel Ubuntu 18.04.6 LTS (bionic) | 5:4.0.9-1ubuntu0.2+esm5 | [redis-sentinel 5:4.0.9-1ubuntu0.2+esm5](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-redis-sentinel-5-4.0.9-1ubuntu0.2-esm5.md) | Jan 6, 2025 |
| Linux | redis-sentinel Ubuntu 20.04 LTS (focal) | 5:5.0.7-2ubuntu0.1+esm3 | [redis-sentinel 5:5.0.7-2ubuntu0.1+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-redis-sentinel-5-5.0.7-2ubuntu0.1-esm3.md) | Jan 6, 2025 |
| Linux | redis-sentinel Ubuntu 22.04.1 LTS (jammy) | 5:6.0.16-1ubuntu1+esm2 | [redis-sentinel 5:6.0.16-1ubuntu1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-redis-sentinel-5-6.0.16-1ubuntu1-esm2.md) | Jan 6, 2025 |
| Linux | redis-sentinel Ubuntu 24.04.5 LTS (noble) | 5:7.0.15-1ubuntu0.24.04.1 | [redis-sentinel 5:7.0.15-1ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-redis-sentinel-5-7.0.15-1ubuntu0.24.04.1.md) | Jan 6, 2025 |
| Linux | redis-sentinel Ubuntu 24.10 (oracular) | 5:7.0.15-1ubuntu0.24.10.1 | [redis-sentinel 5:7.0.15-1ubuntu0.24.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-redis-sentinel-5-7.0.15-1ubuntu0.24.10.1.md) | Jan 16, 2026 |
| Linux | redis-server Ubuntu 18.04.6 LTS (bionic) | 5:4.0.9-1ubuntu0.2+esm5 | [redis-server 5:4.0.9-1ubuntu0.2+esm5](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-redis-server-5-4.0.9-1ubuntu0.2-esm5.md) | Jan 6, 2025 |
| Linux | redis-server Ubuntu 20.04 LTS (focal) | 5:5.0.7-2ubuntu0.1+esm3 | [redis-server 5:5.0.7-2ubuntu0.1+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-redis-server-5-5.0.7-2ubuntu0.1-esm3.md) | Jan 6, 2025 |
| Linux | redis-server Ubuntu 22.04.1 LTS (jammy) | 5:6.0.16-1ubuntu1+esm2 | [redis-server 5:6.0.16-1ubuntu1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-redis-server-5-6.0.16-1ubuntu1-esm2.md) | Jan 6, 2025 |
| Linux | redis-server Ubuntu 24.04.5 LTS (noble) | 5:7.0.15-1ubuntu0.24.04.1 | [redis-server 5:7.0.15-1ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-redis-server-5-7.0.15-1ubuntu0.24.04.1.md) | Jan 6, 2025 |
| Linux | redis-server Ubuntu 24.10 (oracular) | 5:7.0.15-1ubuntu0.24.10.1 | [redis-server 5:7.0.15-1ubuntu0.24.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-redis-server-5-7.0.15-1ubuntu0.24.10.1.md) | Jan 16, 2026 |
| Linux | redis-tools Ubuntu 18.04.6 LTS (bionic) | 5:4.0.9-1ubuntu0.2+esm5 | [redis-tools 5:4.0.9-1ubuntu0.2+esm5](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-redis-tools-5-4.0.9-1ubuntu0.2-esm5.md) | Jan 6, 2025 |
| Linux | redis-tools Ubuntu 20.04 LTS (focal) | 5:5.0.7-2ubuntu0.1+esm3 | [redis-tools 5:5.0.7-2ubuntu0.1+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-redis-tools-5-5.0.7-2ubuntu0.1-esm3.md) | Jan 6, 2025 |
| Linux | redis-tools Ubuntu 22.04.1 LTS (jammy) | 5:6.0.16-1ubuntu1+esm2 | [redis-tools 5:6.0.16-1ubuntu1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-redis-tools-5-6.0.16-1ubuntu1-esm2.md) | Jan 6, 2025 |
| Linux | redis-tools Ubuntu 24.04.5 LTS (noble) | 5:7.0.15-1ubuntu0.24.04.1 | [redis-tools 5:7.0.15-1ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-redis-tools-5-7.0.15-1ubuntu0.24.04.1.md) | Jan 6, 2025 |
| Linux | redis-tools Ubuntu 24.10 (oracular) | 5:7.0.15-1ubuntu0.24.10.1 | [redis-tools 5:7.0.15-1ubuntu0.24.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-redis-tools-5-7.0.15-1ubuntu0.24.10.1.md) | Jan 16, 2026 |
| Linux | redis6 amzn 2023 | 6.2.14-2.amzn2023.0.2 | [ALAS2023-2025-818](https://patchblox.com/security/data/fix/linux/alas2023-2025-818.md) | Jan 21, 2025 |
| Linux | redis6-debuginfo amzn 2023 | 6.2.14-2.amzn2023.0.2 | [ALAS2023-2025-818](https://patchblox.com/security/data/fix/linux/alas2023-2025-818.md) | Jan 21, 2025 |
| Linux | redis6-debugsource amzn 2023 | 6.2.14-2.amzn2023.0.2 | [ALAS2023-2025-818](https://patchblox.com/security/data/fix/linux/alas2023-2025-818.md) | Jan 21, 2025 |
| Linux | redis6-devel amzn 2023 | 6.2.14-2.amzn2023.0.2 | [ALAS2023-2025-818](https://patchblox.com/security/data/fix/linux/alas2023-2025-818.md) | Jan 21, 2025 |
| Linux | redis6-doc amzn 2023 | 6.2.14-2.amzn2023.0.2 | [ALAS2023-2025-818](https://patchblox.com/security/data/fix/linux/alas2023-2025-818.md) | Jan 21, 2025 |
| Linux | redis7 opensuse-leap 15.6 | 7.0.8-150600.8.6.1 | [SUSE-SU-2025:0161-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0161-1.md) | Jan 17, 2025 |
| Linux | redis7 sles 15.6 | 7.0.8-150600.8.6.1 | [SUSE-SU-2025:0161-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0161-1.md) | Jan 17, 2025 |
| Linux | valkey Debian 13.5 (trixie) | 8.0.2+dfsg1-1 | [DEBIAN-CVE-2024-46981](https://patchblox.com/security/data/fix/linux/debian-cve-2024-46981.md) | Jan 6, 2025 |
| Linux | valkey Debian 14 | 8.0.2+dfsg1-1 | [DEBIAN-CVE-2024-46981](https://patchblox.com/security/data/fix/linux/debian-cve-2024-46981.md) | Jan 6, 2025 |
| Linux | valkey-redis-compat Ubuntu 24.04.5 LTS (noble) | 7.2.8+dfsg1-0ubuntu0.24.04.2 | [valkey-redis-compat 7.2.8+dfsg1-0ubuntu0.24.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-valkey-redis-compat-7.2.8-dfsg1-0ubuntu0.24.04.2.md) | Jan 6, 2025 |
| Linux | valkey-redis-compat Ubuntu 24.10 (oracular) | 7.2.8+dfsg1-0ubuntu0.24.10.2 | [valkey-redis-compat 7.2.8+dfsg1-0ubuntu0.24.10.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-valkey-redis-compat-7.2.8-dfsg1-0ubuntu0.24.10.2.md) | Jan 16, 2026 |
| Linux | valkey-sentinel Ubuntu 24.04.5 LTS (noble) | 7.2.8+dfsg1-0ubuntu0.24.04.2 | [valkey-sentinel 7.2.8+dfsg1-0ubuntu0.24.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-valkey-sentinel-7.2.8-dfsg1-0ubuntu0.24.04.2.md) | Jan 6, 2025 |
| Linux | valkey-sentinel Ubuntu 24.10 (oracular) | 7.2.8+dfsg1-0ubuntu0.24.10.2 | [valkey-sentinel 7.2.8+dfsg1-0ubuntu0.24.10.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-valkey-sentinel-7.2.8-dfsg1-0ubuntu0.24.10.2.md) | Jan 16, 2026 |
| Linux | valkey-server Ubuntu 24.04.5 LTS (noble) | 7.2.8+dfsg1-0ubuntu0.24.04.2 | [valkey-server 7.2.8+dfsg1-0ubuntu0.24.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-valkey-server-7.2.8-dfsg1-0ubuntu0.24.04.2.md) | Jan 6, 2025 |
| Linux | valkey-server Ubuntu 24.10 (oracular) | 7.2.8+dfsg1-0ubuntu0.24.10.2 | [valkey-server 7.2.8+dfsg1-0ubuntu0.24.10.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-valkey-server-7.2.8-dfsg1-0ubuntu0.24.10.2.md) | Jan 16, 2026 |
| Linux | valkey-tools Ubuntu 24.04.5 LTS (noble) | 7.2.8+dfsg1-0ubuntu0.24.04.2 | [valkey-tools 7.2.8+dfsg1-0ubuntu0.24.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-valkey-tools-7.2.8-dfsg1-0ubuntu0.24.04.2.md) | Jan 6, 2025 |
| Linux | valkey-tools Ubuntu 24.10 (oracular) | 7.2.8+dfsg1-0ubuntu0.24.10.2 | [valkey-tools 7.2.8+dfsg1-0ubuntu0.24.10.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-valkey-tools-7.2.8-dfsg1-0ubuntu0.24.10.2.md) | Jan 16, 2026 |

---

Data as of 2026-11-09T13:31:49Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
