CVE-2025-27151

EUVD-2025-16375
Redis is an open source, in-memory database that persists on disk. In versions starting from 7.0.0 to before 8.0.2, a stack-based buffer overflow exists in redis-check-aof due to the use of memcpy with strlen(filepath) when copying a user-supplied file path into a fixed-size stack buffer. This allows an attacker to overflow the stack and potentially achieve code execution. This issue has been patched in version 8.0.2.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
4.7 MEDIUM
LOCAL
HIGH
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 58.99%
Affected Products (NVD)
VendorProductVersion
redisredis
7.0.0 ≤
𝑥
< 7.2.9
redisredis
7.4.0 ≤
𝑥
< 7.4.4
redisredis
8.0.0 ≤
𝑥
< 8.0.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
redict
forky
7.3.6+ds-2
fixed
sid
7.3.6+ds-2
fixed
redis
bookworm
5:7.0.15-1~deb12u7
fixed
bookworm (security)
5:7.0.15-1~deb12u9
fixed
bullseye
not-affected
forky
5:8.0.6-2
fixed
sid
5:8.0.6-2
fixed
trixie
5:8.0.2-3+deb13u2
fixed
trixie (security)
5:8.0.2-3+deb13u2
fixed
valkey
forky
9.1.1-1
fixed
sid
9.1.1-1
fixed
trixie
8.1.1+dfsg1-3+deb13u2
fixed
trixie (security)
8.1.1+dfsg1-3+deb13u2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
redis
bionic
not-affected
focal
not-affected
jammy
not-affected
noble
needed
oracular
ignored
plucky
ignored
questing
not-affected
resolute
not-affected
trusty
not-affected
xenial
not-affected
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
redis
suse enterprise sap 15 SP6
7.2.4-150600.3.12.1
fixed
suse enterprise server 15 SP6
7.2.4-150600.3.12.1
fixed
redis7
suse enterprise sap 15 SP5
7.0.8-150500.3.21.1
fixed
suse enterprise sap 15 SP6
7.0.8-150600.8.16.1
fixed
suse enterprise server 15 SP5
7.0.8-150500.3.21.1
fixed
suse enterprise server 15 SP6
7.0.8-150600.8.16.1
fixed
valkey
suse enterprise sap 15 SP6
8.0.2-150600.13.11.1
fixed
suse enterprise sap 15 SP7
8.0.2-150700.3.5.1
fixed
suse enterprise server 15 SP6
8.0.2-150600.13.11.1
fixed
suse enterprise server 15 SP7
8.0.2-150700.3.5.1
fixed
valkey-compat-redis
suse enterprise sap 15 SP6
8.0.2-150600.13.11.1
fixed
suse enterprise sap 15 SP7
8.0.2-150700.3.5.1
fixed
suse enterprise server 15 SP6
8.0.2-150600.13.11.1
fixed
suse enterprise server 15 SP7
8.0.2-150700.3.5.1
fixed
valkey-devel
suse enterprise sap 15 SP6
8.0.2-150600.13.11.1
fixed
suse enterprise sap 15 SP7
8.0.2-150700.3.5.1
fixed
suse enterprise server 15 SP6
8.0.2-150600.13.11.1
fixed
suse enterprise server 15 SP7
8.0.2-150700.3.5.1
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
valkey
Azure Linux 3.0
0:8.0.3-3.azl3
fixed