CVEfocus › CVE database › CVE-2026-23631

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

CVSS 6.1 MediumEPSS 1.7% (higher than 78% of CVEs)Published 2026-05-05Updated 2026-07-16Assigner: GitHub_M

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.

CWE-416

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

27Fixed
6Fix pending
2Under investigation
1Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10redisFix pendingUBUNTU-CVE-2026-23631
Ubuntu 26.04redisUnder investigationUBUNTU-CVE-2026-23631
Ubuntu 25.10redisWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-23631
Ubuntu 24.04redisUnder investigationUBUNTU-CVE-2026-23631
Ubuntu 22.04redisFix pendingUBUNTU-CVE-2026-23631
Ubuntu 20.04redisFix pendingUBUNTU-CVE-2026-23631
Ubuntu 18.04redisFix pendingUBUNTU-CVE-2026-23631
Ubuntu 16.04redisFix pendingUBUNTU-CVE-2026-23631
Ubuntu 14.04redisFix pendingUBUNTU-CVE-2026-23631
Debian 14redisFixed5:8.0.6-3DEBIAN-CVE-2026-23631
Debian 14valkeyFixed9.1.1-1DEBIAN-CVE-2026-23631
Debian 13redisFixed5:8.0.2-3+deb13u3DEBIAN-CVE-2026-23631
Debian 13valkeyFixed8.1.1+dfsg1-3+deb13u3DEBIAN-CVE-2026-23631
Debian 12redisFixed5:7.0.15-1~deb12u8DEBIAN-CVE-2026-23631
Red Hat Enterprise Linux 10valkeyFixed0:8.0.9-1.el10_2RHSA-2026:25216
Red Hat Enterprise Linux 10valkey-develFixed0:8.0.9-1.el10_2RHSA-2026:25216
Red Hat Enterprise Linux 9redisFixed0:7.2.14-1.module+el9.8.0+24327+41ceb644RHSA-2026:25219
Red Hat Enterprise Linux 9redis-develFixed0:7.2.14-1.module+el9.8.0+24327+41ceb644RHSA-2026:25219
Red Hat Enterprise Linux 9redis-docFixed0:7.2.14-1.module+el9.8.0+24327+41ceb644RHSA-2026:25219
Red Hat Enterprise Linux 9valkeyFixed0:8.0.9-1.el9_8RHSA-2026:25925
Red Hat Enterprise Linux 9valkey-develFixed0:8.0.9-1.el9_8RHSA-2026:25925
Red Hat Enterprise Linux 8redisNot affected
Red Hat Enterprise Linux 8redis-develNot affected
Red Hat Enterprise Linux 8redis-docNot affected
AlmaLinux 10valkeyFixed8.0.9-1.el10_2ALSA-2026:25216
AlmaLinux 10valkey-develFixed8.0.9-1.el10_2ALSA-2026:25216
AlmaLinux 9redisFixed7.2.14-1.module_el9.8.0+258+b8f945d3ALSA-2026:25219
AlmaLinux 9redis-develFixed7.2.14-1.module_el9.8.0+258+b8f945d3ALSA-2026:25219
AlmaLinux 9redis-docFixed7.2.14-1.module_el9.8.0+258+b8f945d3ALSA-2026:25219
AlmaLinux 9valkeyFixed8.0.9-1.el9_8ALSA-2026:25925
AlmaLinux 9valkey-develFixed8.0.9-1.el9_8ALSA-2026:25925
Rocky Linux 10valkeyFixed0:8.0.9-1.el10_2RLSA-2026:25216
Rocky Linux 9redisFixed0:7.2.14-1.module+el9.8.0+40207+e2014501RLSA-2026:25219
Rocky Linux 9valkeyFixed0:8.0.9-1.el9_8RLSA-2026:25925
Alpine Linux 3.24valkeyFixed9.0.4-r0ALPINE-CVE-2026-23631
Alpine Linux 3.23valkeyFixed9.0.4-r0ALPINE-CVE-2026-23631
Alpine Linux 3.22valkeyFixed8.1.7-r0ALPINE-CVE-2026-23631
Alpine Linux 3.21valkeyFixed7.2.13-r0ALPINE-CVE-2026-23631
Alpine Linux 3.20valkeyFixed7.2.13-r0ALPINE-CVE-2026-23631

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.