10

CVE-2025-49844: Redis Lua Use-After-Free may lead to remote code execution

Modified
AliasesALPINE-CVE-2025-49844UBUNTU-CVE-2025-49844USN-7824-1
Published 03-10-2025Last modified 20-03-2026

Vulnerability summary

CVE-2025-49844 is a critical (CVSS 10.0) Use After Free vulnerability in lfprojects valkey. EPSS estimates a 80.79% chance of exploitation in the next 30 days, higher than 99.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
10.0/10
010
Critical · v3.1 (CVE.org)
EPSS score
80.79%
0%100%
Critical · -1.85 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 33 · Related 16

Timeline

  1. 03-10-2025
    PublishedVulnerability first disclosed.
  2. 20-03-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

80.79%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

Decrease -1.85 pp

From 82.64% 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

1 found
  • githubUnverified

    Redis Cve 2025 49844

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

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

Chainguard5 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)
Ubuntu5 products
  • lua50All versions (No fix recorded)
  • lua5.1< 5.1.5-8ubuntu1+esm1 | All versions (No fix recorded) | < 5.1.5-8.1ubuntu0.20.04.1~esm1 | < 5.1.5-8.1ubuntu0.22.04.1~esm1
  • redict< 7.3.5+ds-1ubuntu0.1
  • redis< 5:6.0.16-1ubuntu1.1 | < 2:2.8.4-2ubuntu0.2+esm5 | < 2:3.0.6-1ubuntu0.4+esm4 | < 5:4.0.9-1ubuntu0.2+esm6 | < 5:5.0.7-2ubuntu0.1+esm4 | < 5:7.0.15-1ubuntu0.24.04.2 | < 5:8.0.2-3ubuntu0.25.10.1
  • valkey< 7.2.11+dfsg1-0ubuntu0.2 | < 8.1.4+dfsg1-0ubuntu0.2
Alpine3 products
  • redict< 7.3.6-r0
  • redis≥ 7.0, < 8.0.4-r0 | ≥ 7.0, < 8.2.2-r0 | ≥ 7.0, < 7.2.11-r0 | ≥ 8.0.0, < 8.0.4-r0 | ≥ 8.2.0, < 8.2.2-r0
  • valkey≥ 8.0.0, < 7.2.11-r0 | ≥ 8.0.0, < 8.1.4-r0 | < 7.2.11-r0 | ≥ 8.1.0, < 8.1.4-r0
Debian3 products
  • redict< 7.3.6+ds-1
  • redis< 5:7.0.15-1~deb12u6 | < 5:8.0.2-3+deb13u1 | < 5:8.0.4-1
  • valkey< 8.1.1+dfsg1-3+deb13u1 | < 8.1.4+dfsg1-1
Lfprojects1 product
  • valkey< 7.2.11 | ≥ 8.0.0, < 8.0.6 | ≥ 8.1.0, < 8.1.4
Redis1 product
  • redis< 8.2.2 | < 6.2.20 | ≥ 7.0, < 7.2.11 | ≥ 7.4.0, < 7.4.6 | ≥ 8.0.0, < 8.0.4 | ≥ 8.2.0, < 8.2.2

6 vendors · 18 products

References

18 links
Show all 18 references