CVE-2025-32023
Description
Redis is an open source, in-memory database that persists on disk. From 2.8 to before 8.0.3, 7.4.5, 7.2.10, and 6.2.19, an authenticated user may use a specially crafted string to trigger a stack/heap out of bounds write on hyperloglog operations, potentially leading to remote code execution. The bug likely affects all Redis versions with hyperloglog operations implemented. This vulnerability is fixed in 8.0.3, 7.4.5, 7.2.10, and 6.2.19. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing hyperloglog operations. This can be done using ACL to restrict HLL commands.
CWE
- CWE-680 — CWE-680: Integer Overflow to Buffer Overflow
Affected
- redis / redis — v=>= 8.0.0, < 8.0.3 [affected]; v=>= 7.4-rc1, < 7.4.5 [affected]; v=>= 7.0.0, < 7.2.10 [affected]; v=>= 2.8.0, < 6.2.19 [affected]
CVSS
- 3.1 score=7 severity=HIGH
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/redis/redis/security/advisories/GHSA-rp2m-q4j6-gr43 x_refsource_CONFIRM
- https://github.com/redis/redis/commit/50188747cbfe43528d2719399a2a3c9599169445 x_refsource_MISC
- https://github.com/redis/redis/releases/tag/6.2.19 x_refsource_MISC
- https://github.com/redis/redis/releases/tag/7.2.10 x_refsource_MISC
- https://github.com/redis/redis/releases/tag/7.4.5 x_refsource_MISC
- https://github.com/redis/redis/releases/tag/8.0.3 x_refsource_MISC
Source
cvelistV5-main/cves/2025/32xxx/CVE-2025-32023.json