Critical severity · published May 29, 2025
CVE-2025-27151
Redis is an open source, in-memory database that persists on disk
9.8
CVSS
1.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
Redis · Redis
7.0.0 before 7.2.9; 7.4.0 before 7.4.4; 8.0.0 before 8.0.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-27151
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-27151
Patch
https://github.com/redis/redis/commit/643b5db235cb82508e72f11c7b4bbfc7dc39be56
Release Notes
https://github.com/redis/redis/releases/tag/8.0.2
Third Party Advisory
https://github.com/redis/redis/security/advisories/GHSA-5453-q98w-cmvm
More from Redis
10.0
CVE-2022-0543
Debian-specific Redis Server Lua Sandbox Escape Vulnerability
9.9
CVE-2025-49844
Redis is an open source, in-memory database that persists on disk
9.8
CVE-2024-46981
Redis' Lua library commands may lead to remote code execution
9.8
CVE-2022-3734
Redis on Windows dbghelp.dll uncontrolled search path
9.8
CVE-2022-35951
Redis is an in-memory database that persists on disk
