CVE-2025-49844

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.9 CRITICAL
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub_MCNA
10 CRITICAL
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA-ADPADP
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 89%
VendorProductVersion
redisredis
𝑥
< 6.2.20
redisredis
7.0 ≤
𝑥
< 7.2.11
redisredis
7.4.0 ≤
𝑥
< 7.4.6
redisredis
8.0.0 ≤
𝑥
< 8.0.4
redisredis
8.2.0 ≤
𝑥
< 8.2.2
lfprojectsvalkey
𝑥
< 7.2.11
lfprojectsvalkey
8.0.0 ≤
𝑥
< 8.0.6
lfprojectsvalkey
8.1.0 ≤
𝑥
< 8.1.4
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
redict
forky
7.3.6+ds-1
fixed
sid
7.3.6+ds-1
fixed
redis
bullseye
vulnerable
bullseye (security)
5:6.0.16-1+deb11u8
fixed
bookworm
vulnerable
bookworm (security)
5:7.0.15-1~deb12u6
fixed
trixie (security)
5:8.0.2-3+deb13u1
fixed
trixie
5:8.0.2-3+deb13u1
fixed
forky
5:8.0.5-1
fixed
sid
5:8.0.5-1
fixed
valkey
trixie (security)
8.1.1+dfsg1-3+deb13u1
fixed
trixie
8.1.1+dfsg1-3+deb13u1
fixed
forky
8.1.4+dfsg1-1
fixed
sid
8.1.4+dfsg1-1
fixed