
CVE catalog
CVE-2025-27151
redis: CVE-2025-27151
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.06% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | redis | sid | 5:8.0.6-3 | fixed |
| Debian | redis | forky | 5:8.0.6-3 | fixed |
| Debian | redis | trixie | 5:8.0.2-3+deb13u2 | fixed |
| Debian | redis | trixie-security | 5:8.0.2-3+deb13u3 | fixed |
| Debian | redis | bookworm | 5:7.0.15-1~deb12u7 | fixed |
| Debian | redis | bookworm-security | 5:7.0.15-1~deb12u10 | fixed |
| Ubuntu | redis | 24.04 | 5:7.0.12-1 | vulnerable |
| Ubuntu | redis | 24.04 | 5:7.0.14-1 | vulnerable |
| Ubuntu | redis | 24.04 | 5:7.0.14-2 | vulnerable |
| Ubuntu | redis | 24.04 | 5:7.0.15-1 | vulnerable |
| Ubuntu | redis | 24.04 | 5:7.0.15-1build1 | vulnerable |
| Ubuntu | redis | 24.04 | 5:7.0.15-1build2 | vulnerable |
| Ubuntu | redis | 24.04 | 5:7.0.15-1ubuntu0.24.04.1 | vulnerable |
| Ubuntu | redis | 24.04 | 5:7.0.15-1ubuntu0.24.04.2 | vulnerable |
| Ubuntu | redis | 24.04 | 5:7.0.15-1ubuntu0.24.04.3 | vulnerable |
| Ubuntu | redis | 24.04 | 5:7.0.15-1ubuntu0.24.04.4 | vulnerable |
| Ubuntu | redis | 24.04 | 5:7.0.15-1ubuntu0.24.04.5 | vulnerable |
| Alpine | redis | 3.18 | 7.0.15-r4 | fixed |
| Alpine | redis | 3.19 | 7.2.9-r0 | fixed |
| Alpine | valkey | 3.20 | 7.2.9-r1 | fixed |
| Alpine | valkey | 3.21 | 7.2.9-r1 | fixed |
| Alpine | valkey | 3.22 | 8.1.1-r1 | fixed |
| Alpine | valkey | 3.23 | 8.1.1-r1 | fixed |
| Alpine | valkey | 3.24 | 8.1.1-r1 | fixed |
| Opensuse | valkey | tumbleweed | 8.1.2-1.1 | fixed |
| Suse | redis7 | linux enterprise high performance computing 15 sp5-espos | 7.0.8-150500.3.21.1 | fixed |
| Suse | redis7 | linux enterprise high performance computing 15 sp5-ltss | 7.0.8-150500.3.21.1 | fixed |
| Suse | redis7 | linux enterprise server 15 sp5-ltss | 7.0.8-150500.3.21.1 | fixed |
| Suse | redis7 | linux enterprise server for sap applications 15 sp5 | 7.0.8-150500.3.21.1 | fixed |
| Suse | redis7 | linux enterprise module for server applications 15 sp6 | 7.0.8-150600.8.16.1 | fixed |
| Opensuse | redis7 | leap 15.6 | 7.0.8-150600.8.16.1 | fixed |
| Suse | valkey | linux enterprise module for server applications 15 sp6 | 8.0.2-150600.13.11.1 | fixed |
| Opensuse | valkey | leap 15.6 | 8.0.2-150600.13.11.1 | fixed |
| Suse | redis | linux enterprise module for server applications 15 sp6 | 7.2.4-150600.3.12.1 | fixed |
| Opensuse | redis | leap 15.6 | 7.2.4-150600.3.12.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | redis | source | sid | 5:8.0.2-2 | not yet assigned | Not reported | [1106822] |
| Debian | redis | source | forky | 5:8.0.2-2 | not yet assigned | Not reported | [1106822] |
| Debian | redis | source | trixie | 5:8.0.2-2 | not yet assigned | Not reported | [1106822] |
| Debian | redis | source | bookworm | 5:7.0.15-1~deb12u5 | not yet assigned | Not reported | [1106822] |
| Alpine | redis | apk | 3.18 | 7.0.15-r4 | Not reported | ALPINE-CVE-2025-27151 | Not reported |
| Alpine | redis | apk | 3.19 | 7.2.9-r0 | Not reported | ALPINE-CVE-2025-27151 | Not reported |
| Alpine | valkey | apk | 3.20 | 7.2.9-r1 | Not reported | ALPINE-CVE-2025-27151 | Not reported |
| Alpine | valkey | apk | 3.21 | 7.2.9-r1 | Not reported | ALPINE-CVE-2025-27151 | Not reported |
| Alpine | valkey | apk | 3.22 | 8.1.1-r1 | Not reported | ALPINE-CVE-2025-27151 | Not reported |
| Alpine | valkey | apk | 3.23 | 8.1.1-r1 | Not reported | ALPINE-CVE-2025-27151 | Not reported |
| Alpine | valkey | apk | 3.24 | 8.1.1-r1 | Not reported | ALPINE-CVE-2025-27151 | Not reported |
| Opensuse | valkey | rpm | tumbleweed | 8.1.2-1.1 | Not reported | OPENSUSE-SU-2025:15306-1 | Not reported |
| Suse | redis7 | rpm | linux enterprise high performance computing 15 sp5-espos | 7.0.8-150500.3.21.1 | Not reported | SUSE-SU-2025:02681-1 | Not reported |
| Suse | redis7 | rpm | linux enterprise high performance computing 15 sp5-ltss | 7.0.8-150500.3.21.1 | Not reported | SUSE-SU-2025:02681-1 | Not reported |
| Suse | redis7 | rpm | linux enterprise server 15 sp5-ltss | 7.0.8-150500.3.21.1 | Not reported | SUSE-SU-2025:02681-1 | Not reported |
| Suse | redis7 | rpm | linux enterprise server for sap applications 15 sp5 | 7.0.8-150500.3.21.1 | Not reported | SUSE-SU-2025:02681-1 | Not reported |
| Suse | redis7 | rpm | linux enterprise module for server applications 15 sp6 | 7.0.8-150600.8.16.1 | Not reported | SUSE-SU-2025:02679-1 | Not reported |
| Opensuse | redis7 | rpm | leap 15.6 | 7.0.8-150600.8.16.1 | Not reported | SUSE-SU-2025:02679-1 | Not reported |
| Suse | valkey | rpm | linux enterprise module for server applications 15 sp6 | 8.0.2-150600.13.11.1 | Not reported | SUSE-SU-2025:02231-1 | Not reported |
| Opensuse | valkey | rpm | leap 15.6 | 8.0.2-150600.13.11.1 | Not reported | SUSE-SU-2025:02231-1 | Not reported |
| Suse | redis | rpm | linux enterprise module for server applications 15 sp6 | 7.2.4-150600.3.12.1 | Not reported | SUSE-SU-2025:02190-1 | Not reported |
| Opensuse | redis | rpm | leap 15.6 | 7.2.4-150600.3.12.1 | Not reported | SUSE-SU-2025:02190-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [valkey-compat-redis]Unknown
Source package: [valkey]
Details (1)
9.1.1-1.2· noarch · tumbleweedUnknown · Fixed:
8.1.2-1.1Version impact unknown
dsa · valkey · opensuse · tumbleweed
- [valkey-devel]Unknown
Source package: [valkey]
Details (1)
9.1.1-1.2· x86_64 · tumbleweedUnknown · Fixed:
8.1.2-1.1Version impact unknown
dsa · valkey · opensuse · tumbleweed
- [valkey]Fixed
Source package: [valkey]
Details (1)
9.1.1-1.2· x86_64 · tumbleweedFixed · Fixed:
8.1.2-1.1dsa · valkey · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [redis]Fixed
Details (4)
5:7.0.15-1~deb12u7· all · bookwormFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u7· all · bookwormFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· all · bookworm-securityFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· all · bookworm-securityFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
- [redis-sentinel]Fixed
Source package: [redis]
Details (4)
5:7.0.15-1~deb12u7· amd64 · bookwormFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u7· arm64 · bookwormFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· amd64 · bookworm-securityFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· arm64 · bookworm-securityFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
- [redis-server]Fixed
Source package: [redis]
Details (4)
5:7.0.15-1~deb12u7· amd64 · bookwormFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u7· arm64 · bookwormFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· amd64 · bookworm-securityFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· arm64 · bookworm-securityFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
- [redis-tools]Fixed
Source package: [redis]
Details (4)
5:7.0.15-1~deb12u7· amd64 · bookwormFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u7· arm64 · bookwormFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· amd64 · bookworm-securityFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· arm64 · bookworm-securityFixed · Fixed:
5:7.0.15-1~deb12u5dsa · redis · debian · bookworm; dsa · redis · debian · 12
[Debian 13 (Trixie)]
- [redis]Fixed
Details (5)
5:8.0.2-3+deb13u2· all · trixieFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u2· all · trixieFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u2· all · trixie-securityFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u3· all · trixie-securityFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
- [redis-sentinel]Fixed
Source package: [redis]
Details (5)
5:8.0.2-3+deb13u2· amd64 · trixieFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u2· arm64 · trixieFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u2· arm64 · trixie-securityFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
- [redis-server]Fixed
Source package: [redis]
Details (5)
5:8.0.2-3+deb13u2· amd64 · trixieFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u2· arm64 · trixieFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u2· arm64 · trixie-securityFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
- [redis-tools]Fixed
Source package: [redis]
Details (5)
5:8.0.2-3+deb13u2· amd64 · trixieFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u2· arm64 · trixieFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u2· arm64 · trixie-securityFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
5:8.0.2-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
5:8.0.2-2dsa · redis · debian · 13
- [valkey-sentinel]Fixed
Source package: [valkey]
Details (5)
8.1.1+dfsg1-3+deb13u2· amd64 · trixieFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
8.1.1+dfsg1-3+deb13u2· arm64 · trixieFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
8.1.1+dfsg1-3+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
8.1.1+dfsg1-3+deb13u2· arm64 · trixie-securityFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
8.1.1+dfsg1-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
- [valkey-server]Fixed
Source package: [valkey]
Details (5)
8.1.1+dfsg1-3+deb13u2· amd64 · trixieFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
8.1.1+dfsg1-3+deb13u2· arm64 · trixieFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
8.1.1+dfsg1-3+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
8.1.1+dfsg1-3+deb13u2· arm64 · trixie-securityFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
8.1.1+dfsg1-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
- [valkey-tools]Fixed
Source package: [valkey]
Details (5)
8.1.1+dfsg1-3+deb13u2· amd64 · trixieFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
8.1.1+dfsg1-3+deb13u2· arm64 · trixieFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
8.1.1+dfsg1-3+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
8.1.1+dfsg1-3+deb13u2· arm64 · trixie-securityFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
8.1.1+dfsg1-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
8.1.1+dfsg1-1.1dsa · valkey · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2025_11401.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2025-27151]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-27151]
- [https://osv.dev/vulnerability/DSA-5969-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:02190-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:02231-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:02679-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:02681-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-27151]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15306-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-27151]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-27151.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-1150.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]