CVE-2025-27151
published medium CVSS 3.1 · 4.7redis-check-aof may lead to stack overflow and potential RCE
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| redis | — | redis>= 7.0.0, < 8.0.2 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | redis | Advisory build | 7.2.10-1.module_el9.6.0+173+efaf9205 | ALSA-2025:12008 |
| Alpine Linux | edge | redis | Fixed | 8.0.2-r0 | Package fix record |
| Debian | bookworm | redis | Advisory build | 5:7.0.15-1~deb12u5 | DSA-5969-1 |
| Oracle Linux | 9 | redisaarch64 · redis · 7b | Advisory build | 0:7.2.10-1.0.1.module+el9.6.0+90637+3ecf02e1 | ELSA-2025-12008 |
| Red Hat Enterprise Linux | RHEL-9 | redisaarch64 | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| SUSE / openSUSE | SLE-15-SP6 | redisaarch64 | Advisory build | 7.2.4-150600.3.12.1 | SUSE-SU-2025:02190-1 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.18 | redis | Fixed | 7.0.15-r4 | Package fix record |
| Alpine Linux | v3.19 | redis | Fixed | 7.2.9-r0 | Package fix record |
| Alpine Linux | v3.20 | redis | Fixed | 7.2.9-r0 | Package fix record |
| Alpine Linux | v3.21 | redis | Fixed | 7.2.9-r0 | Package fix record |
| Alpine Linux | v3.22 | redis | Fixed | 8.0.2-r0 | Package fix record |
| Alpine Linux | v3.23 | redis | Fixed | 8.0.2-r0 | Package fix record |
| Alpine Linux | v3.24 | redis | Fixed | 8.0.2-r0 | Package fix record |
| Oracle Linux | 9 | redisx86_64 · redis · 7b | Advisory build | 0:7.2.10-1.0.1.module+el9.6.0+90637+3ecf02e1 | ELSA-2025-12008 |
| Red Hat Enterprise Linux | RHEL-9 | redisppc64le | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | rediss390x | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redissrc | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redisx86_64 | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| SUSE / openSUSE | SLE-15-SP6 | redisppc64le | Advisory build | 7.2.4-150600.3.12.1 | SUSE-SU-2025:02190-1 |
| SUSE / openSUSE | SLE-15-SP6 | rediss390x | Advisory build | 7.2.4-150600.3.12.1 | SUSE-SU-2025:02190-1 |
| SUSE / openSUSE | SLE-15-SP6 | redisx86_64 | Advisory build | 7.2.4-150600.3.12.1 | SUSE-SU-2025:02190-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | redisaarch64 | Advisory build | 7.2.4-150600.3.12.1 | SUSE-SU-2025:02190-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | redisppc64le | Advisory build | 7.2.4-150600.3.12.1 | SUSE-SU-2025:02190-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | rediss390x | Advisory build | 7.2.4-150600.3.12.1 | SUSE-SU-2025:02190-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | redisx86_64 | Advisory build | 7.2.4-150600.3.12.1 | SUSE-SU-2025:02190-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisaarch64 | Advisory build | 8.0.2-1.1 | OPENSUSE-SU-2025:15293-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisppc64le | Advisory build | 8.0.2-1.1 | OPENSUSE-SU-2025:15293-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rediss390x | Advisory build | 8.0.2-1.1 | OPENSUSE-SU-2025:15293-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisx86_64 | Advisory build | 8.0.2-1.1 | OPENSUSE-SU-2025:15293-1 |
| AlmaLinux | 10 | valkey | Advisory build | 8.0.4-1.el10_0 | ALSA-2025:11401 |
| AlmaLinux | 10 | valkey-devel | Advisory build | 8.0.4-1.el10_0 | ALSA-2025:11401 |
| AlmaLinux | 9 | redis-devel | Advisory build | 7.2.10-1.module_el9.6.0+173+efaf9205 | ALSA-2025:12008 |
| AlmaLinux | 9 | redis-doc | Advisory build | 7.2.10-1.module_el9.6.0+173+efaf9205 | ALSA-2025:12008 |
| Alpine Linux | edge | valkey | Fixed | 8.1.1-r1 | Package fix record |
| Alpine Linux | v3.20 | redict | Fixed | 7.3.3-r1 | Package fix record |
| Alpine Linux | v3.20 | valkey | Fixed | 7.2.9-r1 | Package fix record |
| Alpine Linux | v3.21 | redict | Fixed | 7.3.3-r1 | Package fix record |
| Alpine Linux | v3.21 | valkey | Fixed | 7.2.9-r1 | Package fix record |
| Alpine Linux | v3.22 | redict | Fixed | 7.3.3-r1 | Package fix record |
| Alpine Linux | v3.22 | valkey | Fixed | 8.1.1-r1 | Package fix record |
| Alpine Linux | v3.23 | redict | Fixed | 7.3.3-r1 | Package fix record |
| Alpine Linux | v3.23 | valkey | Fixed | 8.1.1-r1 | Package fix record |
| Alpine Linux | v3.24 | redict | Fixed | 7.3.3-r1 | Package fix record |
| Alpine Linux | v3.24 | valkey | Fixed | 8.1.1-r1 | Package fix record |
| Oracle Linux | 10 | valkeyaarch64 | Advisory build | 0:8.0.4-1.el10_0 | ELSA-2025-11401 |
| Oracle Linux | 10 | valkeyx86_64 | Advisory build | 0:8.0.4-1.el10_0 | ELSA-2025-11401 |
| Oracle Linux | 10 | valkey-develaarch64 | Advisory build | 0:8.0.4-1.el10_0 | ELSA-2025-11401 |
| Oracle Linux | 10 | valkey-develx86_64 | Advisory build | 0:8.0.4-1.el10_0 | ELSA-2025-11401 |
| Oracle Linux | 9 | redis-develaarch64 · redis · 7b | Advisory build | 0:7.2.10-1.0.1.module+el9.6.0+90637+3ecf02e1 | ELSA-2025-12008 |
| Oracle Linux | 9 | redis-develx86_64 · redis · 7b | Advisory build | 0:7.2.10-1.0.1.module+el9.6.0+90637+3ecf02e1 | ELSA-2025-12008 |
| Oracle Linux | 9 | redis-docaarch64 · redis · 7b | Advisory build | 0:7.2.10-1.0.1.module+el9.6.0+90637+3ecf02e1 | ELSA-2025-12008 |
| Oracle Linux | 9 | redis-docx86_64 · redis · 7b | Advisory build | 0:7.2.10-1.0.1.module+el9.6.0+90637+3ecf02e1 | ELSA-2025-12008 |
| Red Hat Enterprise Linux | RHEL-10 | valkeyaarch64 | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkeyppc64le | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkeys390x | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkeysrc | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkeyx86_64 | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkey-debuginfoaarch64 | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkey-debuginfoppc64le | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkey-debuginfos390x | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkey-debuginfox86_64 | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkey-debugsourceaarch64 | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkey-debugsourceppc64le | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkey-debugsources390x | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkey-debugsourcex86_64 | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkey-develaarch64 | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkey-develppc64le | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkey-devels390x | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-10 | valkey-develx86_64 | Advisory build | 8.0.4-1.el10_0 | RHSA-2025:11401 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfoaarch64 | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfoppc64le | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfos390x | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfox86_64 | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsourceaarch64 | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsourceppc64le | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsources390x | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsourcex86_64 | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redis-develaarch64 | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redis-develppc64le | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redis-devels390x | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redis-develx86_64 | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| Red Hat Enterprise Linux | RHEL-9 | redis-docnoarch | Advisory build | 7.2.10-1.module+el9.6.0+23332+115a3b01 | RHSA-2025:12008 |
| SUSE / openSUSE | SLE-15-SP5 | redis7aarch64 | Advisory build | 7.0.8-150500.3.21.1 | SUSE-SU-2025:02681-1 |
| SUSE / openSUSE | SLE-15-SP5 | redis7ppc64le | Advisory build | 7.0.8-150500.3.21.1 | SUSE-SU-2025:02681-1 |
| SUSE / openSUSE | SLE-15-SP5 | redis7s390x | Advisory build | 7.0.8-150500.3.21.1 | SUSE-SU-2025:02681-1 |
| SUSE / openSUSE | SLE-15-SP5 | redis7x86_64 | Advisory build | 7.0.8-150500.3.21.1 | SUSE-SU-2025:02681-1 |
| SUSE / openSUSE | SLE-15-SP6 | redis7aarch64 | Advisory build | 7.0.8-150600.8.16.1 | SUSE-SU-2025:02679-1 |
| SUSE / openSUSE | SLE-15-SP6 | redis7ppc64le | Advisory build | 7.0.8-150600.8.16.1 | SUSE-SU-2025:02679-1 |
| SUSE / openSUSE | SLE-15-SP6 | redis7s390x | Advisory build | 7.0.8-150600.8.16.1 | SUSE-SU-2025:02679-1 |
| SUSE / openSUSE | SLE-15-SP6 | redis7x86_64 | Advisory build | 7.0.8-150600.8.16.1 | SUSE-SU-2025:02679-1 |
| SUSE / openSUSE | SLE-15-SP6 | valkeyaarch64 | Advisory build | 8.0.2-150600.13.11.1 | SUSE-SU-2025:02231-1 |
| SUSE / openSUSE | SLE-15-SP6 | valkeyppc64le | Advisory build | 8.0.2-150600.13.11.1 | SUSE-SU-2025:02231-1 |
| SUSE / openSUSE | SLE-15-SP6 | valkeys390x | Advisory build | 8.0.2-150600.13.11.1 | SUSE-SU-2025:02231-1 |
| SUSE / openSUSE | SLE-15-SP6 | valkeyx86_64 | Advisory build | 8.0.2-150600.13.11.1 | SUSE-SU-2025:02231-1 |
| SUSE / openSUSE | SLE-15-SP6 | valkey-compat-redisnoarch | Advisory build | 8.0.2-150600.13.11.1 | SUSE-SU-2025:02231-1 |
| SUSE / openSUSE | SLE-15-SP6 | valkey-develaarch64 | Advisory build | 8.0.2-150600.13.11.1 | SUSE-SU-2025:02231-1 |
| SUSE / openSUSE | SLE-15-SP6 | valkey-develppc64le | Advisory build | 8.0.2-150600.13.11.1 | SUSE-SU-2025:02231-1 |
| SUSE / openSUSE | SLE-15-SP6 | valkey-devels390x | Advisory build | 8.0.2-150600.13.11.1 | SUSE-SU-2025:02231-1 |
| SUSE / openSUSE | SLE-15-SP6 | valkey-develx86_64 | Advisory build | 8.0.2-150600.13.11.1 | SUSE-SU-2025:02231-1 |
| SUSE / openSUSE | SLE-15-SP7 | valkeyaarch64 | Advisory build | 8.0.2-150700.3.5.1 | SUSE-SU-2025:01942-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| redis | redis | >= 7.0.0, < 8.0.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-20 CWE-20: Improper Input Validation
- CWE-121 CWE-121: Stack-based Buffer Overflow
References
3Provider assertions
2GitHub_M · cna
redis-check-aof may lead to stack overflow and potential RCE
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 99b6bb3c51db0a171bac73b5904cf8af425aa37544632b3158046ab17ddc1bcf
- Ingested
- 23 Sep 2026, 08:42:34 UTC
- Source record
- Official CVE record