CVE-2025-27151CWE-121CWE-20

redis-check-aof may lead to stack overflow and potential RCE

Medium · published May 29, 2025

CVSS v3.1
4.7
EPSS
1%
Percentile
61.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.7 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00978 · 61.8th percentile
Weaknesses
CWE-121 · Stack-based Buffer Overflow; CWE-20 · Improper Input Validation
Published
2025-05-29T09:07Z
EPSS history
Timeline
  • 29 MAY 09:07Z
    redis-check-aof may lead to stack overflow and potential RCE
    cvelistv5