CVE Vulnerabilities

CVE-2026-23631

Use After Free

Published: May 05, 2026 | Modified: Jun 30, 2026
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
8.8 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
RedisRedis*8.6.3 (excluding)
Red Hat Enterprise Linux 10RedHatvalkey-0:8.0.9-1.el10_2*
Red Hat Enterprise Linux 10.0 Extended Update SupportRedHatvalkey-0:8.0.9-1.el10_0*
Red Hat Enterprise Linux 9RedHatredis:7-9080020260521083756.9*
Red Hat Enterprise Linux 9RedHatvalkey-0:8.0.9-1.el9_8*
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRedHatredis:7-9040020260625094332.9*
Red Hat Enterprise Linux 9.6 Extended Update SupportRedHatredis:7-9060020260602115714.9*
RedisUbuntuesm-apps/xenial*
RedisUbuntuquesting*

Potential Mitigations

References