Skip to main content
CVE-2025-27151VulnerabilityPublished

CVE-2025-27151: redis · Improper Input Validation

Affects redisSource CVE Database V5

0

Not known to be exploited · CVSS 4.7 Medium : upgrade to 8.0.2 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
4.7Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.0% chance of exploitation in 30 days – higher than 64% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.0.2
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 May 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade redis/redis to 8.0.2.

Affected software

ProductAffectedFixed in
GitHubredis/redispkg:github/redis/redisOther threatsAffected
  • >=7.0.0 <8.0.2
Fixed in
  • 8.0.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should prioritize upgrading Redis installations to version 8.0.2 or later, where this vulnerability is patched. Where immediate upgrade is not feasible, restrict access to redis-check-aof utility to trusted administrators only and ensure it is not exposed to untrusted users or automated processes that could be manipulated. Implement strict file system permissions to prevent unauthorized users from supplying or modifying file paths used by redis-check-aof. Employ host-based intrusion detection systems to monitor for unusual executions of redis-check-aof or suspicious process behaviors. Additionally, conduct regular audits of Redis versions deployed across the environment and integrate vulnerability scanning to detect outdated versions. For environments using containerized Redis instances, ensure base images are updated and rebuilt promptly. Finally, apply the principle of least privilege to Redis service accounts and related utilities to limit the impact of potential exploitation.

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.

References

Community reviews

Loading reviews…