CVE-2025-32023: Redis allows out of bounds writes in hyperloglog commands leading to RCE
Redis allows out of bounds writes in hyperloglog commands leading to RCE
Other sources
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.
— Red Hat
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-32023?
CVE-2025-32023 is classified with a high severity due to the potential for remote code execution through out of bounds writes.
How do I fix CVE-2025-32023?
To mitigate CVE-2025-32023, upgrade Redis to versions 8.0.3 or later, or apply the relevant patches.
What versions of Redis are affected by CVE-2025-32023?
CVE-2025-32023 affects Redis versions from 2.8 up to, but not including, 8.0.3, as well as versions 7.4.5, 7.2.10, and 6.2.19.
Can CVE-2025-32023 be exploited by authenticated users?
Yes, CVE-2025-32023 can be exploited by authenticated users using specially crafted strings.
What type of vulnerability is CVE-2025-32023?
CVE-2025-32023 is categorized as a stack/heap out of bounds write vulnerability within hyperloglog operations.