CVE-2025-27151
criticalpriority · track · 39EPSS 0.011 · 64 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 4.7–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (35)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1150Redis: Schwachstelle ermöglicht Denial of ServiceDeutsch2025-05-27csaf · cert_bundDE
Ein lokaler Angreifer kann eine Schwachstelle in Redis ausnutzen, um einen Denial of Service herbeizuführen und poteziell beliebigen Programmcode auszuführen.
- BIT-keydb-2025-27151redis-check-aof may lead to stack overflow and potential RCE2025-05-31vendor · osvUS
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.
- BIT-redis-2025-27151redis-check-aof may lead to stack overflow and potential RCE2025-05-31vendor · osvUS
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.
- BIT-valkey-2025-27151redis-check-aof may lead to stack overflow and potential RCE2025-05-31vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202505-4023cnnvd
- EUVD-2025-16375enisa_euvd
- BDU:2025-08608fstec_bdu
- BIT-keydb-2025-27151osv
- BIT-redis-2025-27151osv
- BIT-valkey-2025-27151osv
- GHSA-5453-q98w-cmvmosv
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://github.com/redis/redis/commit/643b5db235cb82508e72f11c7b4bbfc7dc39be56cnnvd
- https://github.com/redis/redis/releasesPatchcnnvd
- https://github.com/redis/redis/releases/tag/8.0.2cnnvd
- https://github.com/redis/redis/security/advisories/GHSA-5453-q98w-cmvmcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-27151cnnvd
- https://github.com/redis/redis/commit/643b5db235cb82508e72f11c7b4bbfc7dc39be56enisa_euvd
- https://github.com/redis/redis/releases/tag/8.0.2enisa_euvd
- https://github.com/redis/redis/security/advisories/GHSA-5453-q98w-cmvmenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan