CVE-2026-23631
redis-server Lua use-after-free may allow remote code execution
- State
- Published
- Severity
- 6.1 Medium
- Published
- May 5, 2026
- Updated
- Jul 16, 2026
- Reserved
- Jan 14, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.1 Medium | 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 | GitHub_M |
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat-SADP |
Weaknesses
- CWE-416 Use After Free
Affected Products
| Product | Versions |
|---|---|
redisredis |
|
References
- https://github.com/redis/redis/security/advisories/GHSA-8ghh-qpmp-7826
- https://github.com/redis/redis/releases/tag/8.6.3
- https://access.redhat.com/security/cve/CVE-2026-23631vdb-entry
- RHBZ#2466788issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23631.json
- https://access.redhat.com/errata/RHSA-2026:26540vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25216vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:33444vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:26306vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25219vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25925vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:14316vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.