9.8

CVE-2025-27151: redis Improper Input Validation

CVSS: 9.8v3.1CriticalAnalyzed
AliasesALPINE-CVE-2025-27151SUSE-SU-2025:02190-1UBUNTU-CVE-2025-27151
Published 29-05-2025Last modified 29-05-2025

Vulnerability summary

CVE-2025-27151 is a critical (CVSS 9.8) Improper Input Validation vulnerability in redis. EPSS estimates a 0.98% chance of exploitation in the next 30 days, higher than 61.5% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
0.98%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 7

Timeline

  1. 29-05-2025
    PublishedVulnerability first disclosed.
  2. 29-05-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.98%

Chance of exploitation in the next 30 days

Percentile

62%

Versus all other CVEs

30-day change

+0.02 pp

From 0.95% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.98%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard12 products
  • py3-redisAll versions (No fix recorded)
  • py3.10-redisAll versions (No fix recorded)
  • py3.11-redisAll versions (No fix recorded)
  • py3.12-redisAll versions (No fix recorded)
  • py3.13-redisAll versions (No fix recorded)
Debian3 products
  • redict< 7.3.5+ds-1
  • redis< 5:7.0.15-1~deb12u5 | < 5:8.0.2-2
  • valkey< 8.1.1+dfsg1-1.1
Alpine2 products
  • redis≥ 7.0.0, < 7.0.15-r4 | ≥ 7.0.0, < 7.2.9-r0
  • valkey< 7.2.9-r1 | < 8.1.1-r1
Opensuse1 product
  • redis&distro=openSUSE Leap 15.6< 7.2.4-150600.3.12.1
Redis1 product
  • redis≥ 7.0.0, < 8.0.2 | ≥ 7.0.0, < 7.2.9 | ≥ 7.4.0, < 7.4.4 | ≥ 8.0.0, < 8.0.2
Suse1 product
  • redis&distro=SUSE Linux Enterprise Module for Server Applications 15 SP6< 7.2.4-150600.3.12.1
Ubuntu1 product
  • redisAll versions (No fix recorded)

7 vendors · 21 products

References

12 links
Show all 12 references