CVE-2026-23631: medium-severity vulnerability in redis
redis-server Lua use-after-free may allow remote code execution
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
35Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 6.1epss 3.1%
from disclosure to weapon2 days
Published on NVDMay 5
1st PoC+2d
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.
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
redis · redispublic PoCs found — 2
githubgithub.com/yoyosh/DarkReplica★ 33githubgithub.com/HORKimhab/CVE-2026-23631★ 0⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — redis
In the same product, most dangerous first.
CVE-2025-49844CRITICALRedis Lua Use-After-Free may lead to remote code executionEPSS 82.6%CVE-2023-36824HIGHHeap overflow in COMMAND GETKEYS and ACL evaluation in RedisEPSS 77.4%CVE-2023-22458MEDIUMInteger overflow in multiple Redis commands can lead to denial-of-serviceEPSS 72.0%CVE-2022-36021MEDIUMRedis string pattern matching can be abused to achieve Denial of ServiceEPSS 59.8%CVE-2023-28425MEDIUMSpecially crafted MSETNX command can lead to denial-of-serviceEPSS 58.5%CVE-2022-24834HIGHHeap overflow issue with the Lua cjson library used by RedisEPSS 41.4%
References
https://access.redhat.com/errata/RHSA-2026:14316https://access.redhat.com/errata/RHSA-2026:25216https://access.redhat.com/errata/RHSA-2026:25219https://access.redhat.com/errata/RHSA-2026:25925https://access.redhat.com/errata/RHSA-2026:26306https://access.redhat.com/errata/RHSA-2026:26540https://access.redhat.com/errata/RHSA-2026:33444https://access.redhat.com/security/cve/CVE-2026-23631https://bugzilla.redhat.com/show_bug.cgi?id=2466788https://github.com/redis/redis/releases/tag/8.6.3https://github.com/redis/redis/security/advisories/GHSA-8ghh-qpmp-7826https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23631.json