Vulnerability · Published May 5, 2026 · Assigned by GitHub_M
CVE-2026-23631redis-server Lua use-after-free may allow remote code execution
High 8.8
In plain English
A high-severity use-after-free in redis from redis. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.1% (higher than 88% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | redis | 7.2.14-1.module_el9.8.0+258+b8f945d3 | ALSA-2026:25219 |
| AlmaLinux:9 | redis-devel | 7.2.14-1.module_el9.8.0+258+b8f945d3 | ALSA-2026:25219 |
| AlmaLinux:9 | redis-doc | 7.2.14-1.module_el9.8.0+258+b8f945d3 | ALSA-2026:25219 |
| AlmaLinux:10 | valkey | 8.0.9-1.el10_2 | ALSA-2026:25216 |
| AlmaLinux:9 | valkey | 8.0.9-1.el9_8 | ALSA-2026:25925 |
| AlmaLinux:10 | valkey-devel | 8.0.9-1.el10_2 | ALSA-2026:25216 |
| AlmaLinux:9 | valkey-devel | 8.0.9-1.el9_8 | ALSA-2026:25925 |
| Alpine:v3.20 | valkey | 7.2.13-r0 | ALPINE-CVE-2026-23631 |
| Alpine:v3.21 | valkey | 7.2.13-r0 | ALPINE-CVE-2026-23631 |
| Alpine:v3.22 | valkey | 8.1.7-r0 | ALPINE-CVE-2026-23631 |
| Alpine:v3.23 | valkey | 9.0.4-r0 | ALPINE-CVE-2026-23631 |
| Alpine:v3.24 | valkey | 9.0.4-r0 | ALPINE-CVE-2026-23631 |
| Debian:14 | redict | no fix listed | DEBIAN-CVE-2026-23631 |
| Debian:12 | redis | 5:7.0.15-1~deb12u8 | DEBIAN-CVE-2026-23631 |
| Debian:13 | redis | 5:8.0.2-3+deb13u3 | DEBIAN-CVE-2026-23631 |
| Debian:14 | redis | 5:8.0.6-3 | DEBIAN-CVE-2026-23631 |
| Debian:13 | valkey | 8.1.1+dfsg1-3+deb13u3 | DEBIAN-CVE-2026-23631 |
| Debian:14 | valkey | 9.1.1-1 | DEBIAN-CVE-2026-23631 |
| Rocky Linux:9 | redis | 0:7.2.14-1.module+el9.8.0+40207+e2014501 | RLSA-2026:25219 |
| Rocky Linux:10 | valkey | 0:8.0.9-1.el10_2 | RLSA-2026:25216 |
| Rocky Linux:9 | valkey | 0:8.0.9-1.el9_8 | RLSA-2026:25925 |
| Ubuntu:24.04:LTS | redis | no fix listed | UBUNTU-CVE-2026-23631 |
| Ubuntu:25.10 | redis | no fix listed | UBUNTU-CVE-2026-23631 |
| Ubuntu:26.04:LTS | redis | no fix listed | UBUNTU-CVE-2026-23631 |
| Ubuntu:26.10 | redis | no fix listed | UBUNTU-CVE-2026-23631 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/redis/redis/security/advisories/GHSA-8ghh-qpmp-7826 x_refsource_CONFIRM
- https://github.com/redis/redis/releases/tag/8.6.3 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-23631 vdb-entry, x_refsource_REDHAT
- RHBZ#2466788 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23631.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:26540 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:25216 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:33444 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:26306 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:25219 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:25925 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:14316 vendor-advisory, x_refsource_REDHAT