CVE-2025-27151
redis: Redis Stack Buffer Overflow
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 29, 2025
Updated · October 27, 2026
Description
A flaw was found in Redis. Using memcpy with the strlen filepath when copying a user-supplied file path into a fixed-size stack buffer in redis-check-aof results in a stack-based buffer overflow. This flaw allows a local attacker to trigger the overflow by providing a specially crafted file path, allowing potential code execution. The primary consequence is a possible denial of service.
Statement
The availability impact is limited to the instance of Redis and not to the system as a whole.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 2.5CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
CWE-805 · Buffer Access with Incorrect Length Value