Bug 2369153 (CVE-2025-27151)

Summary: CVE-2025-27151 redis: Redis Stack Buffer Overflow
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abarbaro, alinfoot, anthomas, aprice, bbrownin, bdettelb, caswilli, cdaley, dnakabaa, doconnor, dranck, dtrifiro, ehelms, ggainey, gkamathe, haoli, hkataria, jajackso, jcammara, jchui, jdobes, jhe, jkoehler, jmitchel, jneedle, jsamir, jtanner, juwatts, jvasik, jwong, kaycoth, kegrant, kgaikwad, kholdawa, koliveir, kshier, ktsao, lcouzens, lphiri, mabashia, mhulan, mskarbek, nboldt, nkathole, nmoumoul, oezr, orabin, osousa, pbraun, pcreech, psegedy, psrna, rblanco, rbryant, rchan, shvarugh, simaishi, smallamp, smcdonal, stcannon, teagle, tfister, thavo, ttakamiy, vmugicag, weaton, xiaoxwan, yguenane, zzhou
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Redis. Using memcpy with the strlen filepath when copying a user-supplied file path into a fixed-size stack buffer in redis-check-aof results in a stack-based buffer overflow. This flaw allows a local attacker to trigger the overflow by providing a specially crafted file path, allowing potential code execution. The primary consequence is a possible denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-05-29 10:01:08 UTC
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.