CVE-2025-27151
Last modified
CVE-2025-27151 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.80% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redis | Redis | >= 7.0.0, < 7.2.9 |
| Redis | Redis | >= 7.4.0, < 7.4.4 |
| Redis | Redis | >= 8.0.0, < 8.0.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-27151?
How severe is CVE-2025-27151?
How do I fix CVE-2025-27151?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-27146matrix-appservice-irc is a Node.js IRC bridge for Matrix. Th…4.3
- CVE-2025-27147The GLPI Inventory Plugin handles various types of tasks for…8.2
- CVE-2025-27148Gradle is a build automation tool, and its native-platform t…8.8
- CVE-2025-27149Zulip server provides an open-source team chat that helps te…2.7
- CVE-2025-2715A vulnerability classified as problematic has been found in …5.1
- CVE-2025-27150Tuleap is an Open Source Suite to improve management of soft…6.5
- CVE-2025-27152axios is a promise based HTTP client for the browser and nod…5.3
- CVE-2025-27153Escalade GLPI plugin is a ticket escalation process helper f…6.5
- CVE-2025-27154Spotipy is a lightweight Python library for the Spotify Web …9.8
- CVE-2025-27155Pinecone is an experimental overlay routing protocol suite w…6.1
- CVE-2025-27156Tuleap is an Open Source Suite to improve management of soft…5.4
- CVE-2025-27157Mastodon is a self-hosted, federated microblogging platform.…5.3
Are you affected by CVE-2025-27151?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
