CVE & CISA-KEV Catalog

CVE-2025-27151

MEDIUM
4.7
CVSS v3
NVD

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

Remediation Available
redictDebian
Fixed in:7.3.5+ds-1CVE-2025-27151
redisRocky
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.ppc64le::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.src::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.aarch64::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.x86_64::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.s390x::redis:7RHSA-2025:12008
redisRed Hat / RHEL
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.aarch64::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.ppc64le::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.s390x::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.src::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.x86_64::redis:7RHSA-2025:12008
redis-debuginfoRocky
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.x86_64::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.ppc64le::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.aarch64::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.s390x::redis:7RHSA-2025:12008
redis-debuginfoRed Hat / RHEL
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.x86_64::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.aarch64::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.s390x::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.ppc64le::redis:7RHSA-2025:12008
redis-debugsourceRocky
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.x86_64::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.aarch64::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.ppc64le::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.s390x::redis:7RHSA-2025:12008
redis-debugsourceRed Hat / RHEL
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.aarch64::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.ppc64le::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.s390x::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.x86_64::redis:7RHSA-2025:12008
redis-develRocky
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.aarch64::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.ppc64le::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.s390x::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.x86_64::redis:7RHSA-2025:12008
redis-develRed Hat / RHEL
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.ppc64le::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.aarch64::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.x86_64::redis:7RHSA-2025:12008
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.s390x::redis:7RHSA-2025:12008
redis-docRocky
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.noarch::redis:7RHSA-2025:12008
redis-docRed Hat / RHEL
Fixed in:0:7.2.10-1.module+el9.6.0+23332+115a3b01.noarch::redis:7RHSA-2025:12008
valkeyRed Hat / RHEL
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
valkeyRocky
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
valkey-debuginfoRocky
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
valkey-debuginfoRed Hat / RHEL
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
valkey-debugsourceRocky
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
valkey-debugsourceRed Hat / RHEL
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
valkey-develRocky
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
valkey-develRed Hat / RHEL
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Fixed in:0:8.0.4-1.el10_0RHSA-2025:11401
Redis on WindowsWindows application
Affected:7.0.0 7.2.9Fixed in:7.2.9MSOpenTech
Affected:8.0.0 8.0.2Fixed in:8.0.2MSOpenTech
Affected:7.4.0 7.4.4Fixed in:7.4.4MSOpenTech

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.80%probability of exploitation in 30 days
52ndpercentile

Moderate risk: more likely to be exploited than 52% of all known CVEs.

References

Third-Party Advisory1
Release Notes1

Related Vulnerabilities

Other CWE-20 (Improper Input Validation) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-3400Critical10.0100%KEV + Ransom-
CVE-2021-45105Medium5.9100%-Fix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2021-21985Critical9.8100%KEV + RansomFix
CVE-2018-7600Critical9.8100%KEV + RansomFix
CVE-2020-3452High7.5100%KEVFix
Embed a live status badge for CVE-2025-27151
CVE-2025-27151 severity badge

Markdown

[![CVE-2025-27151](https://tridentstack.com/cve/badge/CVE-2025-27151.svg)](https://tridentstack.com/cve/CVE-2025-27151)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-27151"><img src="https://tridentstack.com/cve/badge/CVE-2025-27151.svg" alt="CVE-2025-27151"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-12-23.