Use-after-free in Redis - CVE-2026-23631

 

Use-after-free in Redis - CVE-2026-23631

Published: May 5, 2026


Vulnerability identifier: #VU130201
CSH Severity: Medium
CVSS v4: 6.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-23631
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Redis
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

Install security update from vendor's website.

Redis - addressed in versions 7.2.14, 7.4.9, 8.2.6, 8.4.3, 8.6.3
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