Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-27151
May 29, 2025
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.
Affected Packages
https://github.com/redis/redis.git (GITHUB):
Affected version(s) >=8.0-m01 <8.0.2
Fix Suggestion:
Update to version 8.0.2
https://github.com/redis/redis.git (GITHUB):
Affected version(s) >=7.0.0 <7.2.9
Fix Suggestion:
Update to version 7.2.9
https://github.com/redis/redis.git (GITHUB):
Affected version(s) >=7.4-rc1 <7.4.4
Fix Suggestion:
Update to version 7.4.4
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.7
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.7
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Stack-based Buffer Overflow
Improper Input Validation
EPSS
Base Score:
0.10