Use-after-free in Redis - CVE-2026-23631
Published: May 5, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to use-after-free in the Lua scripting synchronization mechanism when exploiting master-replica synchronization. A remote user can trigger the flaw through crafted Lua script execution to execute arbitrary code.
Only replicas with replica-read-only disabled are vulnerable.
Affected software
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
Fedora
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Server Applications Module
openSUSE Leap
openEuler
Anolis OS
SecurityCenter
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
redis7
redis7-debuginfo
redis7-debugsource
redis
redis-debugsource
redis-debuginfo
redis-devel
redis-doc
valkey
valkey (Red Hat package)
valkey-compat-redis
valkey-debugsource
valkey-devel
valkey-debuginfo
How to mitigate CVE-2026-23631
SecurityCenter - addressed in versions SC202607.1, SC202607.2
redis7 - addressed in versions 7.0.8-150500.3.31.1, 7.0.8-150600.8.25.1
redis7-debuginfo - addressed in versions 7.0.8-150500.3.31.1, 7.0.8-150600.8.25.1
redis7-debugsource - addressed in versions 7.0.8-150500.3.31.1, 7.0.8-150600.8.25.1
redis - update to 7.2.4-150600.3.24.1
redis-debugsource - update to 7.2.4-150600.3.24.1
redis-debuginfo - update to 7.2.4-150600.3.24.1
redis-devel - update to 7.2.14-1
redis - update to 7.2.14-1
redis-doc - update to 7.2.14-1
redis-debugsource - update to 7.2.14-1
redis-debuginfo - update to 7.2.14-1
redis - update to 7.2.14-1
valkey - addressed in versions 8.0.9-1.el8, 8.0.9-1.fc42, 8.1.7-1.fc43, 9.0.4-1.fc44
valkey (Red Hat package) - addressed in versions 8.0.9-1.el9_8, 8.0.9-1.el10_0
valkey-compat-redis - addressed in versions 8.0.9-150600.13.23.1, 8.0.9-150700.3.17.1
valkey-debugsource - addressed in versions 8.0.9-150600.13.23.1, 8.0.9-150700.3.17.1
valkey-devel - addressed in versions 8.0.9-150600.13.23.1, 8.0.9-150700.3.17.1
valkey-debuginfo - addressed in versions 8.0.9-150600.13.23.1, 8.0.9-150700.3.17.1
valkey - addressed in versions 8.0.9-150600.13.23.1, 8.0.9-150700.3.17.1
External References
Related Security Bulletins
- Multiple vulnerabilities in Redis
- Fedora 44 update for valkey
- Fedora 43 update for valkey
- Fedora EPEL 8 update for valkey
- Fedora 42 update for valkey
- openEuler update for redis
- SUSE update for valkey
- SUSE update for valkey
- SUSE update for redis7
- SUSE update for redis
- SUSE update for redis7
- Anolis OS update for redis
- Red Hat Enterprise Linux 9 update for valkey
- Red Hat Enterprise Linux 9 update for the redis:7 module
- Red Hat Enterprise Linux 10 update for valkey
- Red Hat Enterprise Linux 9 update for the redis:7 module
- Multiple vulnerabilities in Tenable Security Center
- Tenable Security Center on Enclave Security update for third-party components