Security fix · CVE-2025-27151
Redis is an open source, in-memory database that persists on disk.
Published May 29, 2025 · catalog updated May 29, 2025 · Redis Redis
Check this week
CVE-2025-27151 is not in CISA KEV. FIRST estimates a 98.00% chance of exploitation in the next 30 days. Check whether you run Redis Redis.
Gaps on this record
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Medium4.7
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 98.00%
- Remediation
- Version ranges on file
- Affected products
- vendor Redis Redis 7.0.0, < 8.0.2
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor Redis Redis 7.0.0, < 8.0.27.0.0, < 8.0.2
How to fix CVE-2025-27151
Recommended remediation
Affected version ranges suggest a fixed boundary. Verify against the vendor advisory for your release.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2025-27151 is not in CISA KEV. FIRST estimates a 98.00% chance of exploitation in the next 30 days. Check whether you run Redis Redis.
Which versions are affected?
Compare what you have installed with Redis Redis 7.0.0, < 8.0.2 7.0.0, < 8.0.2. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 98.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
May 29, 2025 · EUVD
Detected
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 patc
May 29, 2025 · EUVD
Updated
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 patc
Sources
- CVE.orgVulnerability recordCVE-2025-27151
Official CVE identifier
cve.org - EUVDVulnerability recordEUVD-2025-16375
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 stac
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog May 29, 2025. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.