Read the docs
TI-2025-20008 Aliases CVE-2025-27151

redis-check-aof may lead to stack overflow and potential RCE

Priority MEDIUM 44CWE-121Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 2 fixed, 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-121 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01058 64th percentileScored 2026-11-07
Fix Partial redis (redis): 8.0.2Red Hat: 2 advisoriesRed Hat: 2 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Redisredis7.0.0 to before 8.0.28.0.2Patch availableCNA
  • redis VendorRedis Affected 7.0.0 to before 8.0.2 Fixed in 8.0.2 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*7.0.0 to before 7.2.9; 7.4.0 to before 7.4.4; 8.0.0 to before 8.0.2VulnerableRedis
  • cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* Versions 7.0.0 to before 7.2.9; 7.4.0 to before 7.4.4; 8.0.0 to before 8.0.2 Vulnerable ·Redis

Remediation

  • Fix · CNA redis (redis) Fixed in 8.0.2

Red Hat 2 advisories

  • RHSA-2025:12008 Released 2025-07-28 · Red Hat rating Important
    redis:7 security update
    • Red Hat Enterprise Linux AppStream (v. 9) redis-7.2.10-1.module+el9.6.0+23332+115a3b01.aarch64::redis:7, redis-7.2.10-1.module+el9.6.0+23332+115a3b01.ppc64le::redis:7, redis-7.2.10-1.module+el9.6.0+23332+115a3b01.s390x::redis:7 +7
  • RHSA-2025:11401 Released 2025-07-21 · Red Hat rating Important
    valkey security update
    • Red Hat Enterprise Linux AppStream (v. 10) valkey-8.0.4-1.el10_0, valkey-devel-8.0.4-1.el10_0

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2025:11401
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2025:12008
Not affected: 10 products
  • Red Hat AI Inference Server
  • Red Hat Ansible Automation Platform 2
  • Red Hat Developer Hub 1
  • Red Hat Discovery 1
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux AI (RHEL AI)
  • Red Hat OpenShift AI (RHOAI)
  • Red Hat Quay 3
  • Red Hat Satellite 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-27151
  2. 2026-10-27 Affected versions changed · Red Hat

References

  • TI-2022-00463 Missing authorization in Debian redis KEVCVSS 3.1CRITICAL 10.0
  • TI-2025-31759 Redis Lua Use-After-Free may lead to remote code execution CVSS 3.1CRITICAL 10.0
  • TI-2023-18618 Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis CVSS 3.1HIGH 8.8
  • TI-2024-20813 Lua library commands may lead to stack overflow and RCE in Redis CVSS 3.1HIGH 8.8
  • TI-2022-08647 Heap overflow issue with the Lua cjson library used by Redis CVSS 3.1HIGH 8.8
  • TI-2022-08549 Lua scripts can be manipulated to overcome ACL rules in Redis CVSS 3.1HIGH 7.8
See all 45 →

Sources