9.8

CVE-2024-46981: Redis' Lua library commands may lead to remote code execution

Analyzed
AliasesALPINE-CVE-2024-46981SUSE-SU-2025:0162-1RHSA-2025:0398
Published 06-01-2025Last modified 19-03-2025

Vulnerability summary

CVE-2024-46981 is a critical (CVSS 9.8) Use After Free vulnerability in debian debian_linux. EPSS estimates a 8.18% chance of exploitation in the next 30 days, higher than 95% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
8.18%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2reference

Advisory lineage

Upstream 0 · Downstream 13 · Related 12

Timeline

  1. 06-01-2025
    PublishedVulnerability first disclosed.
  2. 19-03-2025
    Last modifiedVulnerability information updated.

Description

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional workaround to mitigate the problem 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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

8.18%

Chance of exploitation in the next 30 days

Percentile

95%

Versus all other CVEs

30-day change

No change 0.00 pp

From 8.18% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (vicarius.io)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (vicarius.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard13 products
  • py3-redisAll versions (No fix recorded)
  • py3.10-redisAll versions (No fix recorded)
  • py3.11-redisAll versions (No fix recorded)
  • py3.12-redisAll versions (No fix recorded)
  • py3.13-redisAll versions (No fix recorded)
Suse10 products
  • redis&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 6.2.6-150400.3.31.1
  • redis&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 6.2.6-150400.3.31.1
  • redis&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 6.2.6-150400.3.31.1
  • redis&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS< 6.2.6-150400.3.31.1
  • redis&distro=SUSE Linux Enterprise Server 15 SP4-LTSS< 6.2.6-150400.3.31.1
Redhat5 products
  • redis< 0:6.2.7-1.el9_2.1 | < 0:6.2.7-1.el9_4.1 | < 0:6.2.6-1.el9_0.1 | < 0:7.0.12-1.module+el9.4.0+22724+5f7cf862.2 | < 0:6.2.7-1.module+el8.8.0+22725+e1c935f8.1 | < 0:6.0.9-5.module+el8.4.0+22739+cf3cc450.1 | < 0:6.0.9-5.module+el8.6.0+22735+5bedcf81.1
  • redis-debuginfo< 0:6.2.7-1.el9_2.1 | < 0:6.2.7-1.el9_4.1 | < 0:6.2.6-1.el9_0.1 | < 0:7.0.12-1.module+el9.4.0+22724+5f7cf862.2 | < 0:6.2.7-1.module+el8.8.0+22725+e1c935f8.1 | < 0:6.0.9-5.module+el8.4.0+22739+cf3cc450.1 | < 0:6.0.9-5.module+el8.6.0+22735+5bedcf81.1
  • redis-debugsource< 0:6.2.7-1.el9_2.1 | < 0:6.2.7-1.el9_4.1 | < 0:6.2.6-1.el9_0.1 | < 0:7.0.12-1.module+el9.4.0+22724+5f7cf862.2 | < 0:6.2.7-1.module+el8.8.0+22725+e1c935f8.1 | < 0:6.0.9-5.module+el8.4.0+22739+cf3cc450.1 | < 0:6.0.9-5.module+el8.6.0+22735+5bedcf81.1
  • redis-devel< 0:6.2.7-1.el9_2.1 | < 0:6.2.7-1.el9_4.1 | < 0:6.2.6-1.el9_0.1 | < 0:7.0.12-1.module+el9.4.0+22724+5f7cf862.2 | < 0:6.2.7-1.module+el8.8.0+22725+e1c935f8.1 | < 0:6.0.9-5.module+el8.4.0+22739+cf3cc450.1 | < 0:6.0.9-5.module+el8.6.0+22735+5bedcf81.1
  • redis-doc< 0:6.2.7-1.el9_2.1 | < 0:6.2.7-1.el9_4.1 | < 0:6.2.6-1.el9_0.1 | < 0:7.0.12-1.module+el9.4.0+22724+5f7cf862.2 | < 0:6.2.7-1.module+el8.8.0+22725+e1c935f8.1 | < 0:6.0.9-5.module+el8.4.0+22739+cf3cc450.1 | < 0:6.0.9-5.module+el8.6.0+22735+5bedcf81.1
Debian4 products
  • redict< 7.3.2+ds-1
  • redis< 5:6.0.16-1+deb11u5 | < 5:7.0.15-1~deb12u3 | < 5:7.0.15-3
  • valkey< 8.0.2+dfsg1-1
  • debian_linuxEOL11.0
Alpine3 products
  • redict< 7.3.2-r0
  • redis≥ 6.2.0, < 7.2.7-r0 | ≥ 6.2.0, < 6.2.18-r0 | ≥ 6.2.0, < 7.0.15-r2 | ≥ 7.2.0, < 7.2.7-r0
  • valkey< 7.2.8-r0
Ubuntu3 products
  • redictAll versions (No fix recorded)
  • redis< 2:2.8.4-2ubuntu0.2+esm4 | < 2:3.0.6-1ubuntu0.4+esm3 | < 5:4.0.9-1ubuntu0.2+esm5 | < 5:5.0.7-2ubuntu0.1+esm3 | < 5:6.0.16-1ubuntu1+esm2 | < 5:7.0.15-1ubuntu0.24.04.1
  • valkey< 7.2.8+dfsg1-0ubuntu0.24.04.2
Redis1 product
  • redis< 6.2.17 | ≥ 6.2.0, < 6.2.17 | ≥ 7.2.0, < 7.2.7 | ≥ 7.4.0, < 7.4.2

7 vendors · 39 products

References

38 links
Show all 38 references