CVE-2025-27151

published 29 May 2025 · updated 11 Jul 2025

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

4.7MediumCVSS 4.7EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Redisredis>=7.0.0 <8.0.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Redis, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-27151 severity on Zeptric[![CVE-2025-27151](https://zeptric.io/badge/cve/CVE-2025-27151.svg)](https://zeptric.io/cve/CVE-2025-27151)