# CVE-2025-32023: Redis allows out of bounds writes in hyperloglog commands leading to RCE

- Priority: **Prioritise**
- Reason: Public exploit (exploit-database, 04-02-2026)
- Next step: Check applicability: affected before 6.2.19, 7.2.10, 7.4.5, 8.0.3 (CNA); fix release not confirmed
- Status: published
- Published: 2025-07-07 · Modified: 2026-02-04
- Aliases: ALPINE-CVE-2025-32023, UBUNTU-CVE-2025-32023, USN-8120-1, DEBIAN-CVE-2025-32023, CGA-2m7g-jhr9-h4pm, CGA-33h9-qx3p-m9h2, CGA-34fh-c347-cc7c, CGA-3gc2-2rg4-xjqg, CGA-3v2w-8m97-98fc, CGA-44c8-742h-8h8c, CGA-44q5-4frx-65xj, CGA-45qf-rf24-ch67, CGA-5mwc-q46f-gqhr, CGA-5q5h-g2hp-fx3m, CGA-6fc9-8cph-g73g, CGA-7f59-gp53-m43v, CGA-83xq-vx5x-3rw7, CGA-864m-5hm3-7pxh, CGA-8hpw-g5p7-7j75, CGA-95hq-xcv6-8mjp, CGA-cx8x-2p4f-g93f, CGA-f66v-4rwr-q24p, CGA-g934-367f-4g26, CGA-gpfm-4vr9-w95m, CGA-h4g5-42ff-pqfm, CGA-hfw5-5cch-3qxm, CGA-hr5m-mv83-53mx, CGA-pcfw-p68v-pm5c, CGA-ppwh-g6vx-xx84, CGA-v2hh-fjp2-66cm, CGA-w2c7-p64q-6rm6, CGA-w2hv-997r-9qj6
- Record: https://cvemate.com/vulnerability/CVE-2025-32023 · JSON: https://cvemate.com/vulnerability/CVE-2025-32023/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 6.678%, percentile 94.078%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (exploit-database)

## Affected (first 20 of 24)

- alpine redict (Alpine Linux): \< 7.3.3-r2
- alpine redis (Alpine Linux): ≥ 2.8.0, \< 7.2.11-r0 \| ≥ 2.8.0, \< 8.0.3-r0 \| ≥ 7.2.0, \< 7.2.11-r0 \| ≥ 8.0.0, \< 8.0.3-r0
- alpine valkey (Alpine Linux): \< 7.2.11-r0 \| \< 8.1.1-r2
- chainguard py3-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.10-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.11-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.12-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.13-redis (Chainguard): All versions (No fix recorded)
- chainguard redis-6.2 (Chainguard): \< 6.2.19-r0
- chainguard redis-7.2 (Chainguard): \< 7.2.10-r0
- chainguard redis-7.2-iamguarded-compat (Chainguard): \< 7.2.12-r2
- chainguard redis-7.4 (Chainguard): \< 7.4.5-r0
- chainguard redis-8.0 (Chainguard): \< 8.0.3-r0
- chainguard redis-benchmark-7.2 (Chainguard): \< 7.2.12-r2
- chainguard redis-cli-7.2 (Chainguard): \< 7.2.12-r2
- chainguard redis-cluster-7.2-iamguarded-compat (Chainguard): \< 7.2.12-r2
- chainguard redis-sentinel-7.2-iamguarded-compat (Chainguard): \< 7.2.12-r2
- debian redict (Debian): \< 7.3.5+ds-1
- debian redis (Debian): \< 5:7.0.15-1~deb12u5 \| \< 5:8.0.2-2
- debian valkey (Debian): \< 8.1.1+dfsg1-3

## References

- <https://github.com/redis/redis/security/advisories/GHSA-rp2m-q4j6-gr43>
- <https://github.com/redis/redis/commit/50188747cbfe43528d2719399a2a3c9599169445>
- <https://github.com/redis/redis/releases/tag/6.2.19>
- <https://github.com/redis/redis/releases/tag/7.2.10>
- <https://github.com/redis/redis/releases/tag/7.4.5>
- <https://github.com/redis/redis/releases/tag/8.0.3>
- <https://www.exploit-db.com/exploits/52477>
- <https://security.alpinelinux.org/vuln/CVE-2025-32023>
- <https://ubuntu.com/security/CVE-2025-32023>
- <https://www.cve.org/CVERecord?id=CVE-2025-32023>
- <https://github.com/valkey-io/valkey/pull/2314>
- <https://ubuntu.com/security/notices/USN-8120-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-32023>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32023.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32023>

---

Data as of 2026-12-05T03:51:46.873Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
