{"id":"CVE-2025-27151","published":"2025-05-29T09:07:34Z","modified":"2025-05-29T13:43:09Z","title":"redis-check-aof may lead to stack overflow and potential RCE","vendor":"redis","product":"redis","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01058,"percentile":0.65315,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-5453-q98w-cmvm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/redis/redis/commit/643b5db235cb82508e72f11c7b4bbfc7dc39be56","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/releases/tag/8.0.2","tags":["x_refsource_MISC"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":13.06},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"redis","affectedVersions":[{"vendor":"redis","product":"redis","versions":[">= 7.0.0, < 8.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-29T13:42:48.855092Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-16375","exploited":false,"provenance":"source"}}