CVE-2025-27151 Details
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.
A stack-based buffer overflow vulnerability has been identified in the Redis command-line tool redis-check-aof, affecting Redis versions 7.0.0 prior to 8.0.2. The vulnerability arises from the use of memcpy with strlen(filepath), which allows user-supplied file paths to overflow a fixed-size stack buffer. This could enable an attacker to manipulate the stack and execute arbitrary code.
Users can upgrade to Redis version 8.0.2 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redis redis | >= 7.0.0, < 7.2.9 >= 7.4.0, < 7.4.4 >= 8.0.0, < 8.0.2 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 23, 2025 | Modified Analysis | [email protected] |
| Nov 28, 2025 | Reanalysis | [email protected] |
| Oct 16, 2025 | Reanalysis | [email protected] |
| Aug 21, 2025 | Initial Analysis | [email protected] |
| May 29, 2025 | New CVE Received | [email protected] |