Integer Overflow to Buffer Overflow in redis
CVE-2025-32023
- redis
- soft-way:redis
- tporadowski:redis
Summary
Redis is an open source, in-memory database that persists on disk. 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. 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. This issue affects versions 2.8.0-rc1 through 6.2.18, 7.0-rc1 through 7.2.9, 7.4-rc1 through 7.4.4, and 8.0-m01 through 8.0.2.
- LOW
- LOCAL
- HIGH
- UNCHANGED
- NONE
- LOW
- HIGH
- HIGH
CWE-680 - Integer Overflow to Buffer Overflow
The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.
References
Advisory Timeline
- Published