CVE-2025-32023
HIGH7.8EPSS 18.4%Redis allows out of bounds writes in hyperloglog commands leading to RCE
Published: 7/7/2025Modified: 12/3/2025
Also known as:ALPINE-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.
Affected packages (8)
- Alpine/valkeyfrom 0, < 7.2.11-r0
- Bitnami/keydb>= 2.8.0, < 6.2.19, >= 7.0.0, < 7.2.10, >= 8.0.0, < 8.0.3, >= 7.4.0, < 7.4.5
- Bitnami/redis>= 2.8.0, < 6.2.19, >= 7.0.0, < 7.2.10, >= 8.0.0, < 8.0.3, >= 7.4.0, < 7.4.5
- Bitnami/valkeyfrom 0, < 7.2.10, >= 7.3.0, < 8.0.4, >= 8.1.0, < 8.1.3
- Debian/redictfrom 0, < 7.3.5+ds-1
- Debian/redisfrom 0, < 5:6.0.16-1+deb11u7
- Debian/redisfrom 0, < 5:6.0.16-1+deb11u7
- Debian/valkeyfrom 0, < 8.1.1+dfsg1-3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (10)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2025-32023
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-32023
- WEBhttps://github.com/redis/redis/commit/50188747cbfe43528d2719399a2a3c9599169445
- WEBhttps://github.com/redis/redis/releases/tag/6.2.19
- WEBhttps://github.com/redis/redis/releases/tag/7.2.10
- WEBhttps://github.com/redis/redis/releases/tag/7.4.5
- WEBhttps://github.com/redis/redis/releases/tag/8.0.3
- WEBhttps://github.com/redis/redis/security/advisories/GHSA-rp2m-q4j6-gr43
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2025-32023
- WEBhttps://www.exploit-db.com/exploits/52477