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.2Fix Suggestion:
Update to version 8.0.2https://github.com/redis/redis.git (GITHUB):
Affected version(s) >=7.0.0 <7.2.9Fix Suggestion:
Update to version 7.2.9https://github.com/redis/redis.git (GITHUB):
Affected version(s) >=7.4-rc1 <7.4.4Fix Suggestion:
Update to version 7.4.4Related Resources (5)
Do you need more information?
Contact UsCVSS 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
EPSS
Base Score:
0.10