Skip to main content
← All vulnerabilities
CVE-2025-32023

Redis allows out of bounds writes in hyperloglog commands leading to RCE

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.0.3, 7.4.5, 7.2.10, 6.2.19
1 on Exploit-DB, 2 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Public exploit on Exploit-DB

    EDB-52477

  4. Record last updated

Affected versions

  • redis 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

References 9

GitHub · redis/redis

Exploit-DB

GitHub · 44528zja/Blackash-CVE-2025-32023

GitHub · leesh3288/CVE-2025-32023