Skip to content
OpenAdvisories
High · 7.0 Public exploit CVE-2025-32023 EUVD-2025-20233

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

Published Jul 7, 2025 · Updated Feb 4, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
redis redis >= 8.0.0, < 8.0.3, >= 7.4-rc1, < 7.4.5, >= 7.0.0, < 7.2.10, >= 2.8.0, < 6.2.19 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 redis 5:8.0.2-2 —
Debian 14 valkey 8.1.1+dfsg1-3 —
Debian 13 redis 5:8.0.2-2 —
Debian 13 valkey 8.1.1+dfsg1-3 —
Debian 12 redis 5:7.0.15-1~deb12u5 DSA-5969-1
Debian 11 redis 5:6.0.16-1+deb11u7 DLA-4240-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 redis +1 No fix yet —
Ubuntu 26.04 LTS redis +1 No fix yet —
Ubuntu 25.10 redis +1 No fix yet —
Ubuntu 24.04 LTS redis 5:7.0.15-1ubuntu0.24.04.3 USN-8120-1
Ubuntu 24.04 LTS valkey 7.2.11+dfsg1-0ubuntu0.2 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS redis No fix yet —
Ubuntu Pro 20.04 LTS redis No fix yet —
Ubuntu Pro 18.04 LTS redis No fix yet —
Ubuntu Pro 16.04 LTS redis No fix yet —
Ubuntu Pro 14.04 LTS redis No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 valkey +1 8.0.4-1.el10_0 RHSA-2025:11401
RHEL 9 redis +2 6.2.19-1.el9_6 RHSA-2025:12008, RHSA-2025:11453
RHEL 8 redis +2 6.2.19-1.module+el8.10.0+23330+19e91c41 RHSA-2025:12006
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS redis +2 6.2.7-1.el9_4.4 RHSA-2025:12892, RHSA-2025:12524
RHEL 9.2 E4S redis +2 6.2.7-1.el9_2.4 RHSA-2025:12478
RHEL 9.0 E4S redis +2 6.2.6-1.el9_0.4 RHSA-2025:12468
RHEL 8.8 TUS redis +2 6.2.7-1.module+el8.8.0+23374+eaf5d181.5 RHSA-2025:12768
RHEL 8.8 E4S redis +2 6.2.7-1.module+el8.8.0+23374+eaf5d181.5 RHSA-2025:12768
RHEL 8.6 TUS redis +2 6.0.9-5.module+el8.6.0+23376+7886a418.5 RHSA-2025:12769
RHEL 8.6 E4S redis +2 6.0.9-5.module+el8.6.0+23376+7886a418.5 RHSA-2025:12769
RHEL 8.6 AUS redis +2 6.0.9-5.module+el8.6.0+23376+7886a418.5 RHSA-2025:12769
RHEL 8.4 EUS Long Life redis +2 6.0.9-5.module+el8.4.0+23377+dd45ab91.4 RHSA-2025:12789
RHEL 8.4 AUS redis +2 6.0.9-5.module+el8.4.0+23377+dd45ab91.4 RHSA-2025:12789

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 valkey +1 8.0.4-1.el10_0 ALSA-2025:11401
AlmaLinux 9 redis +2 7.2.10-1.module_el9.6.0+173+efaf9205 ALSA-2025:12008
AlmaLinux 8 redis +2 6.2.19-1.module_el8.10.0+4030+0c7fcc00 ALSA-2025:12006

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 valkey 8.0.4-1.el10_0 RLSA-2025:11401
Rocky Linux 9 redis 6.2.19-1.el9_6 RLSA-2025:12008, RLSA-2025:11453
Rocky Linux 8 redis 6.2.19-1.module+el8.10.0+2013+383ef3e1 RLSA-2025:12006
ReleasePackageFixed inAdvisory
SLES 15 SP7 valkey 8.0.2-150700.3.8.1 SUSE-SU-2025:02594-1
SLES 15 SP6 redis 7.2.4-150600.3.15.1 SUSE-SU-2025:03073-1
SLES 15 SP6 redis7 7.0.8-150600.8.16.1 SUSE-SU-2025:02679-1
SLES 15 SP6 valkey 8.0.2-150600.13.14.1 SUSE-SU-2025:02593-1
SLES 15 SP5 redis 6.2.6-150400.3.37.1 SUSE-SU-2025:02680-1
SLES 15 SP5 redis7 7.0.8-150500.3.21.1 SUSE-SU-2025:02681-1
SLES 15 SP4 redis 6.2.6-150400.3.37.1 SUSE-SU-2025:02680-1
SLES 15 SP3 redis 6.0.14-150200.6.40.1 SUSE-SU-2025:02579-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 redis 6.2.6-150400.3.37.1 SUSE-SU-2025:02680-1
SLES for SAP 15 SP5 redis7 7.0.8-150500.3.21.1 SUSE-SU-2025:02681-1
SLES for SAP 15 SP4 redis 6.2.6-150400.3.37.1 SUSE-SU-2025:02680-1
SLES for SAP 15 SP3 redis 6.0.14-150200.6.40.1 SUSE-SU-2025:02579-1
SLE HPC 15 SP5 redis 6.2.6-150400.3.37.1 SUSE-SU-2025:02680-1
SLE HPC 15 SP5 redis7 7.0.8-150500.3.21.1 SUSE-SU-2025:02681-1
SLE HPC 15 SP4 redis 6.2.6-150400.3.37.1 SUSE-SU-2025:02680-1
SLE HPC 15 SP3 redis 6.0.14-150200.6.40.1 SUSE-SU-2025:02579-1
SUSE Manager Server 4.3 redis 6.2.6-150400.3.37.1 SUSE-SU-2025:02680-1
SUSE Manager Proxy 4.3 redis 6.2.6-150400.3.37.1 SUSE-SU-2025:02680-1
SUSE Enterprise Storage 7.1 redis 6.0.14-150200.6.40.1 SUSE-SU-2025:02579-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed redis 8.0.3-1.1 openSUSE-SU-2025:15318-1
openSUSE Tumbleweed valkey 8.1.3-1.1 openSUSE-SU-2025:15359-1
openSUSE Leap 15.6 redis 7.2.4-150600.3.15.1 SUSE-SU-2025:03073-1
openSUSE Leap 15.6 redis7 7.0.8-150600.8.16.1 SUSE-SU-2025:02679-1
openSUSE Leap 15.6 valkey 8.0.2-150600.13.14.1 SUSE-SU-2025:02593-1
ReleasePackageFixed inAdvisory
Alpine v3.24 redict 7.3.3-r2 —
Alpine v3.24 redis 8.0.3-r0 —
Alpine v3.24 valkey 8.1.1-r2 —
Alpine v3.23 redict 7.3.3-r2 —
Alpine v3.23 redis 8.0.3-r0 —
Alpine v3.23 valkey 8.1.1-r2 —
Alpine v3.22 redict 7.3.3-r2 —
Alpine v3.22 redis 8.0.3-r0 —
Alpine v3.22 valkey 8.1.1-r2 —
Alpine v3.21 redis +1 7.2.11-r0 —
Alpine v3.20 valkey 7.2.11-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 redis6 +2 6.2.14-2.amzn2023.0.6 ALAS2023-2025-1066
Amazon Linux 2023 valkey +1 8.0.3-3.amzn2023.0.4 ALAS2023-2025-1067

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 valkey 8.0.4-1 —
Azure Linux 2 (CBL-Mariner) redis 6.2.18-3 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 valkey +1 8.0.4-1.el10_0 ELSA-2025-11401
Oracle Linux 9 redis +2 6.2.19-1.el9_6 ELSA-2025-12008, ELSA-2025-11453
Oracle Linux 8 redis +2 6.2.19-1.0.1.module+el8.10.0+90636+d63441d5 ELSA-2025-12006

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 37

References