CVE-2025-27151
Last modified
CVE-2025-27151 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.80% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redis | Redis | >= 7.0.0, < 7.2.9 |
| Redis | Redis | >= 7.4.0, < 7.4.4 |
| Redis | Redis | >= 8.0.0, < 8.0.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-27151?
How severe is CVE-2025-27151?
How do I fix CVE-2025-27151?
Are you affected by CVE-2025-27151?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
