CVE-2025-32023

NameCVE-2025-32023
DescriptionRedis 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1108975, 1108977, 1108978

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
redict (PTS)sid7.3.2+ds-1vulnerable
redis (PTS)bullseye5:6.0.16-1+deb11u2vulnerable
bullseye (security)5:6.0.16-1+deb11u6vulnerable
bookworm5:7.0.15-1~deb12u4vulnerable
bookworm (security)5:7.0.15-1~deb12u3vulnerable
sid, trixie5:8.0.0-2vulnerable
valkey (PTS)trixie8.1.1+dfsg1-2vulnerable
sid8.1.1+dfsg1-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
redictsource(unstable)(unfixed)1108977
redissource(unstable)(unfixed)1108975
valkeysource(unstable)8.1.1+dfsg1-31108978

Notes

https://github.com/redis/redis/security/advisories/GHSA-rp2m-q4j6-gr43
Fixed by: https://github.com/redis/redis/commit/50188747cbfe43528d2719399a2a3c9599169445 (8.0.3)
https://github.com/valkey-io/valkey/pull/2314
Fixed by: https://github.com/valkey-io/valkey/commit/20f5199d96baf0c64bd4e7d042b6274c4e773bcb

Search for package or bug name: Reporting problems