CVE-2025-32023
Redis allows out of bounds writes in hyperloglog commands leading to RCE
Reported by github_m · Published July 7, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| valkey-devel | Amazon Linux | 8.0.3-3.amzn2023.0.4 |
| keydb | Bitnami | 8.0.3, 7.4.5, 7.2.10, 6.2.19 |
| redis-7.4 | Wolfi | 7.4.5-r0 |
| redict | Alpine | 7.3.3-r2 |
| redis-7.2 | Chainguard | 7.2.12-r2 |
| redis6-devel | Amazon Linux | 6.2.14-2.amzn2023.0.6 |
| redis6-doc | Amazon Linux | 6.2.14-2.amzn2023.0.6 |
| valkey | Alpine | 8.1.1-r2, 7.2.11-r0 |
| redis-7.4 | Chainguard | 7.4.5-r0 |
| redis-8.0 | Chainguard | 8.0.3-r0 |
| valkey | Amazon Linux | 8.0.3-3.amzn2023.0.4 |
| valkey | Bitnami | 8.1.3, 8.0.4, 7.2.10 |
8 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| redis | redis | >= 8.0.0, < 8.0.3, >= 7.4-rc1, < 7.4.5, >= 7.0.0, < 7.2.10 |
| amazon:2023 | valkey-devel | 0 |
| wolfi | redis-7.4 | 0 |
| alpine | redict | 0 |
| chainguard | redis-7.2 | 0 |
| amazon:2023 | redis6-devel | 0 |
| amazon:2023 | redis6-doc | 0 |
| chainguard | py3-redis | * |
| alpine | valkey | 0, 0 |
| chainguard | redis-7.4 | 0 |
| chainguard | redis-8.0 | 0 |
| amazon:2023 | valkey | 0 |
| chainguard | redis-6.2 | 0 |
| wolfi | redis-7.2 | 0 |
| wolfi | redis-6.2 | 0 |
| alpine | redis | 0, 0 |
| amazon:2023 | redis6 | 0 |
| redis | redis | 8.0.0, 7.4-rc1, 7.0.0 |
Timeline
- Jul 6, 2025 CVE Published
- Jul 7, 2025 Coalition ESS Score (20 in total, the first dated here)
- Jul 8, 2025 EPSS Score (30 in total, the first dated here)
- Aug 2, 2025 PoC Published (5 in total, the first dated here)
- Dec 16, 2025 Security Advisory (18 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Aug 10, 2026 Distribution Patch (12 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-32023
vulnetix vdb fixes CVE-2025-32023
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-32023/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
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
- https://www.exploit-db.com/exploits/52477 url