CVE-2025-27151
redis - security update
9.8
CRITICAL
CVSS 3.1
EPSS 0.27%
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.
How to fix CVE-2025-27151
To remediate CVE-2025-27151, upgrade the affected package to a fixed version below.
- —upgrade to 7.0.15-r4 or later
- —upgrade to 7.2.9-r1 or later
- —no fix listed
- —upgrade to 7.2.9 or later
- —upgrade to 7.2.10 or later
- —upgrade to 7.3.5+ds-1 or later
- —upgrade to 5:7.0.15-1~deb12u5 or later
- —upgrade to 5:7.0.15-1~deb12u5 or later
- —upgrade to 8.1.1+dfsg1-1.1 or later
Is CVE-2025-27151 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (9)
- from 0, < 7.0.15-r4
- from 0, < 7.2.9-r1
- >= 7.0.0
- >= 7.0.0, < 7.2.9, >= 7.3.0, < 7.4.4, >= 8.0.0, < 8.0.2
- from 0, < 7.2.10, >= 7.3.0, < 8.0.5, >= 8.1.0, < 8.1.2
- from 0, < 7.3.5+ds-1
- from 0, < 5:7.0.15-1~deb12u5
- from 0, < 5:7.0.15-1~deb12u5
- from 0, < 8.1.1+dfsg1-1.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |