Logo
vulnerabilityCVE-2025-27151
Name
CVE-2025-27151
Source
NVD ( link)Debian ( link)
Description
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
redis
Exploitable
redis
Exploitable

Vulnerability Ratings#


4.7
CVSSv31
9.8
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
7.2.14
Not Affected
buildroot
master
8.8.0
Not Affected
openwrt
master
6.2.14-r1
Not Affected
openwrt
openwrt-25.12
6.2.14-r1
Not Affected
yocto
master
8.0.6
Not Affected
yocto
scarthgap
7.2.12
Patched

Resolved with patches#


redis (yocto:scarthgap)

#
Title
Author
Resolve
1
Check length of AOF file name in redis-check-aof
YaacovHazan <yaacov.hazan@redis.com>
CVE-2025-27151

redis (yocto:scarthgap)

#
Title
Author
Resolve
1
Check length of AOF file name in redis-check-aof
YaacovHazan <yaacov.hazan@redis.com>
CVE-2025-27151