# CVE-2026-23631: redis-server Lua use-after-free may allow remote code execution

> CVE-2026-23631: redis-server Lua use-after-free may allow remote code execution. CVSS 8.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-23631
Last updated: 2026-07-25T11:10:00Z

- Published: 2026-05-05 16:39 UTC · Updated: 2026-07-25 11:10 UTC · Assigner: GitHub\_M
- CVSS: 8.8 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.1%, 88th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-416

## 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.

## Affected vendors and products

- Red Hat: Red Hat Enterprise Linux 10
- Red Hat: Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat: Red Hat Enterprise Linux 8
- Red Hat: Red Hat Enterprise Linux 9
- Red Hat: Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
- Red Hat: Red Hat Enterprise Linux 9.6 Extended Update Support
- Red Hat: Red Hat Hardened Images
- redis: redis

## Tracked companies

- [Redis](https://rewindex.com/company/redis.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-23631)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-23631)
- [https://github.com/redis/redis/releases/tag/8.6.3](https://github.com/redis/redis/releases/tag/8.6.3)
- [https://github.com/redis/redis/security/advisories/GHSA-8ghh-qpmp-7826](https://github.com/redis/redis/security/advisories/GHSA-8ghh-qpmp-7826)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-23631 · Markdown: https://rewindex.com/cve/CVE-2026-23631.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-23631 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:11:20.910Z
