vulnerability
FreeBSD: VID-4ea9cbc3-5b28-11f0-b507-000c295725e4 (CVE-2025-27151): redis,valkey -- {redis,valkey}-check-aof may lead to stack overflow and potential RCE
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 4 | (AV:L/AC:M/Au:S/C:N/I:N/A:C) | Jul 7, 2025 | Jul 8, 2025 | Jun 15, 2026 |
Severity
4
CVSS
(AV:L/AC:M/Au:S/C:N/I:N/A:C)
Published
Jul 7, 2025
Added
Jul 8, 2025
Modified
Jun 15, 2026
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.
Solutions
freebsd-upgrade-package-redisfreebsd-upgrade-package-redis74freebsd-upgrade-package-redis72freebsd-upgrade-package-valkey
Rapid7 Labs
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.