Skip to content
OpenAdvisories
Medium · 6.1 Public exploit CVE-2026-23631 EUVD-2026-27398

redis-server Lua use-after-free may allow remote code execution

Published May 5, 2026 · Updated Jul 16, 2026 · Assigned by GitHub_M

Description

Redis is an in-memory data structure store. In all versions of redis-server with Lua scripting, an authenticated attacker can exploit the master-replica synchronization mechanism to trigger a use-after-free on replicas where replica-read-only is disabled or can be disabled, which may lead to remote code execution. A workaround is to prevent users from executing Lua scripts or avoid using replicas where replica-read-only is disabled. This is patched in version 8.6.3.

Affected products

VendorProductAffectedFixed
redis redis < 8.6.3 —

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.6-3 —
Debian 14 valkey 9.1.1-1 —
Debian 13 redis 5:8.0.2-3+deb13u3 —
Debian 13 valkey 8.1.1+dfsg1-3+deb13u3 —
Debian 12 redis 5:7.0.15-1~deb12u8 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 redis No fix yet —
Ubuntu 26.04 LTS redis No fix yet —
Ubuntu 25.10 redis No fix yet —
Ubuntu 24.04 LTS redis No fix yet —
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.9-1.el10_2 RHSA-2026:25216
RHEL 9 redis +2 7.2.14-1.module+el9.8.0+24327+41ceb644 RHSA-2026:25219
RHEL 9 valkey +1 8.0.9-1.el9_8 RHSA-2026:25925
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS valkey +1 8.0.9-1.el10_0 RHSA-2026:26540
RHEL 9.6 EUS redis +2 7.2.14-1.module+el9.6.0+24344+1bc33ec7 RHSA-2026:26306
RHEL 9.4 E4S redis +2 7.0.12-2.module+el9.4.0+24450+e284b512.8 RHSA-2026:33444
Red Hat Hardened Images 1 valkey +5 9.0.4-0.1.hum1 RHSA-2026:14316

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 valkey +1 8.0.9-1.el10_2 ALSA-2026:25216
AlmaLinux 9 redis +2 7.2.14-1.module_el9.8.0+258+b8f945d3 ALSA-2026:25219
AlmaLinux 9 valkey +1 8.0.9-1.el9_8 ALSA-2026:25925

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 valkey 8.0.9-1.el10_2 RLSA-2026:25216
Rocky Linux 9 redis 7.2.14-1.module+el9.8.0+40207+e2014501 RLSA-2026:25219
Rocky Linux 9 valkey 8.0.9-1.el9_8 RLSA-2026:25925
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed redis 8.6.3-1.1 openSUSE-SU-2026:10711-1
openSUSE Tumbleweed valkey 9.0.4-1.1 openSUSE-SU-2026:10719-1
openSUSE Leap 16.0 redis +1 8.10.1-bp160.1.1 openSUSE-SU-2026:21612-1
ReleasePackageFixed inAdvisory
Alpine v3.24 valkey 9.0.4-r0 —
Alpine v3.23 valkey 9.0.4-r0 —
Alpine v3.22 valkey 8.1.7-r0 —
Alpine v3.21 valkey 7.2.13-r0 —
Alpine v3.20 valkey 7.2.13-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 valkey +1 9.0.4-1.amzn2023.0.1 ALAS2023-2026-1748

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 valkey 8.0.9-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 valkey +1 8.0.9-1.el10_2 ELSA-2026-25216
Oracle Linux 9 redis +2 7.2.14-1.0.1.module+el9.8.0+90920+b17784e3 ELSA-2026-25219
Oracle Linux 9 valkey +1 8.0.9-1.el9_8 ELSA-2026-25925

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.

GitHub 2 repositories

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

Advisories 21

References