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

- Severity: High 7.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.47%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-07T15:22:19.155Z
- Modified: 2026-09-08T08:48:21.076Z
- Also known as: BIT-KEYDB-2025-32023, BIT-REDIS-2025-32023, BIT-VALKEY-2025-32023, GHSA-rp2m-q4j6-gr43
- Weaknesses: CWE-680
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- redis redis: >= 8.0.0, < 8.0.3; >= 7.4-rc1, < 7.4.5; >= 7.0.0, < 7.2.10; >= 2.8.0, < 6.2.19; from 2.8.0 before 6.2.19; from 7.2.0 before 7.2.10; from 7.4.0 before 7.4.5; from 8.0.0 before 8.0.3
- keydb (Bitnami): from 2.8.0 before 6.2.19; from 7.0.0 before 7.2.10; from 8.0.0 before 8.0.3; from 7.4.0 before 7.4.5
- redis (Bitnami): from 2.8.0 before 6.2.19; from 7.0.0 before 7.2.10; from 8.0.0 before 8.0.3; from 7.4.0 before 7.4.5
- valkey (Bitnami): before 7.2.10; from 7.3.0 before 8.0.4; from 8.1.0 before 8.1.3

## Every score

- GitHub_M: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.exploit-db.com/exploits/52477> (exploit, web)
- <https://github.com/redis/redis/security/advisories/GHSA-rp2m-q4j6-gr43> (advisory, third-party-advisory)
- <https://github.com/redis/redis/commit/50188747cbfe43528d2719399a2a3c9599169445> (fix, patch)
- <https://github.com/redis/redis/releases/tag/6.2.19> (article, release-notes)
- <https://github.com/redis/redis/releases/tag/7.2.10> (article, release-notes)
- <https://github.com/redis/redis/releases/tag/7.4.5> (article, release-notes)
- <https://github.com/redis/redis/releases/tag/8.0.3> (article, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32023> (web)

## Sources

- CVE List: [CVE-2025-32023](https://www.cve.org/CVERecord?id=CVE-2025-32023), CVE Terms of Use, modified 2026-02-04
- NVD: [CVE-2025-32023](https://nvd.nist.gov/vuln/detail/CVE-2025-32023), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-KEYDB-2025-32023](https://osv.dev/vulnerability/BIT-KEYDB-2025-32023), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-REDIS-2025-32023](https://osv.dev/vulnerability/BIT-REDIS-2025-32023), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-VALKEY-2025-32023](https://osv.dev/vulnerability/BIT-VALKEY-2025-32023), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-32023 · Whole record: https://cve.day/CVE-2025-32023.json · Rebuilt by cve.day 2026-11-25T22:59:00.737Z
