CVE-2025-27151
CVE-2025-27151 is a medium-severity vulnerability in Redis with a CVSS 3.x base score of 4.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.
Key facts
- Severity: Medium (CVSS 3.x base score 4.7)
- EPSS exploit prediction: 1% (52nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-16375
- Weakness: CWE-20
- Affected product: Redis
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-27151?
- 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.
- How severe is CVE-2025-27151?
- CVE-2025-27151 has a CVSS 3.x base score of 4.7, rated medium severity. It is exploitable over local access with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2025-27151 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (52nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-27151?
- CVE-2025-27151 affects Redis. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-27151?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-27151 have an EU (EUVD) identifier?
- Yes. CVE-2025-27151 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-16375.
- When was CVE-2025-27151 published?
- CVE-2025-27151 was published on 2025-05-29 and last updated on 2026-06-17.
References
- https://github.com/redis/redis/commit/643b5db235cb82508e72f11c7b4bbfc7dc39be56
- https://github.com/redis/redis/releases/tag/8.0.2
- https://github.com/redis/redis/security/advisories/GHSA-5453-q98w-cmvm
Affected products (1)
- cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
More vulnerabilities in Redis
- CVE-2022-0543 — Critical (CVSS 10.0): It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a…
- CVE-2025-49844 — Critical (CVSS 9.9): Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user…
- CVE-2026-25243 — High (CVSS 8.8): Redis is an in-memory data structure store. In versions of redis-server up to 8.6.3, the RESTORE command does not…
- CVE-2026-23479 — High (CVSS 8.8): Redis is an in-memory data structure store. In redis-server from 7.2.0 until 8.6.3, the unblock client flow does not…
- CVE-2025-62507 — High (CVSS 8.8): Redis is an open source, in-memory database that persists on disk. In versions 8.2.0 and above, a user can run the…
- CVE-2026-23631 — High (CVSS 8.1): Redis is an in-memory data structure store. In all versions of redis-server with Lua scripting, an authenticated…
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-48316 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48281 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48277 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48055 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download any video media. In versions 2.4.0 and…
- CVE-2026-34910 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS…
- CVE-2026-33587 — Critical (CVSS 10.0): Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →