CVE-2025-49844

EUVD-2025-33178
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
NISTPrimary
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
Base Score
CVSS 3.x
EPSS Score
Percentile: 94%
Affected Products (NVD)
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
bookworm
5:7.0.15-1~deb12u6
fixed
bookworm (security)
5:7.0.15-1~deb12u6
fixed
bullseye
vulnerable
bullseye (security)
5:6.0.16-1+deb11u8
fixed
forky
5:8.0.5-1
fixed
sid
5:8.0.5-1
fixed
trixie
5:8.0.2-3+deb13u1
fixed
trixie (security)
5:8.0.2-3+deb13u1
fixed
valkey
forky
8.1.4+dfsg1-1
fixed
sid
8.1.4+dfsg1-1
fixed
trixie
8.1.1+dfsg1-3+deb13u1
fixed
trixie (security)
8.1.1+dfsg1-3+deb13u1
fixed