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

 

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

Published: May 5, 2026


Vulnerability identifier: #VU130202
CSH Severity: Medium
CVSS v4: 7.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-23479
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 unblock client flow when a blocked client is evicted while re-executing a blocked command. A remote user can trigger this condition to execute arbitrary code.

The issue occurs because processCommandAndResetClient does not handle an error return value in this flow.


Affected software

Redis
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Real Time 15
Fedora
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
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
redis-debuginfo
redis
redis-debugsource
redis-doc
redis-devel
valkey
valkey (Red Hat package)
valkey-debugsource
valkey-compat-redis
valkey-devel
valkey-debuginfo

How to mitigate CVE-2026-23479

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
redis-debuginfo - update to 7.2.4-150600.3.24.1
redis - update to 7.2.4-150600.3.24.1
redis-debugsource - update to 7.2.4-150600.3.24.1
redis - update to 7.2.14-1
redis-debuginfo - update to 7.2.14-1
redis-debugsource - update to 7.2.14-1
redis-doc - addressed in versions 7.2.14-1, 8.6.3-1
redis-devel - addressed in versions 7.2.14-1, 8.6.3-1
redis - addressed in versions 7.2.14-1, 8.6.3-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-debugsource - addressed in versions 8.0.9-150600.13.23.1, 8.0.9-150700.3.17.1
valkey-compat-redis - 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