CVE-2025-32023

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

State
Published
Severity
7.0 High
Published
Jul 7, 2025
Updated
Feb 4, 2026
Reserved
Apr 1, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-680 Integer Overflow to Buffer Overflow

Affected Products

ProductVersions
redisredis
  • >= 8.0.0, < 8.0.3Affected
  • >= 7.4-rc1, < 7.4.5Affected
  • >= 7.0.0, < 7.2.10Affected
  • >= 2.8.0, < 6.2.19Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.