cbcvebase.
CVE-2025-27151
published 2025-05-29

CVE-2025-27151: 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…

PriorityP356critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.80%
52.7th percentile
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.

Affected

13 ranges
VendorProductVersion rangeFixed in
debianredict< redict 7.3.5+ds-1 (forky)redict 7.3.5+ds-1 (forky)
debianredis< redict 7.3.5+ds-1 (forky)redict 7.3.5+ds-1 (forky)
debianvalkey< redict 7.3.5+ds-1 (forky)redict 7.3.5+ds-1 (forky)
lfprojectsvalkey>= 0 < 8.1.1+dfsg1-1.18.1.1+dfsg1-1.1
lfprojectsvalkey>= 0 < 8.1.1+dfsg1-1.18.1.1+dfsg1-1.1
msrcazl3_valkey_8.0.3-3_on_azure_linux_3.0
redisredis
redisredis>= 0 < 5:7.0.15-1~deb12u55:7.0.15-1~deb12u5
redisredis>= 0 < 5:8.0.2-25:8.0.2-2
redisredis>= 0 < 5:8.0.2-25:8.0.2-2
redisredis>= 7.0.0 < 7.2.97.2.9
redisredis>= 7.4.0 < 7.4.47.4.4
redisredis>= 8.0.0 < 8.0.28.0.2

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian4.7MEDIUM
vendor_msrc4.7MEDIUM
vendor_redhat4.7MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.