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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-05 · Modified: 2026-07-16
- Aliases: ALPINE-CVE-2026-23631, RHSA-2026:33444, UBUNTU-CVE-2026-23631, DEBIAN-CVE-2026-23631, CGA-23gw-47g5-m94x, CGA-25xw-9jcq-wf8x, CGA-3gpv-6cmg-jff4, CGA-4gfm-r9j3-fcjw, CGA-5h8m-5jwq-w525, CGA-f3jg-x3h3-5w6p, CGA-fg56-732g-g86c, CGA-mjvh-m2rm-qp74, CGA-q8mq-8gwr-34h9, CGA-qm5f-f75j-hpq6, CGA-rxq6-q9cv-rf92, CGA-vw73-58vh-5fxj, CGA-xh3r-qxcx-fqr6
- Record: https://cvemate.com/vulnerability/CVE-2026-23631 · JSON: https://cvemate.com/vulnerability/CVE-2026-23631/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.208%, percentile 88.566%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine valkey (Alpine Linux): \< 7.2.13-r0 \| \< 8.1.7-r0 \| \< 9.0.4-r0
- chainguard py3-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.10-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.11-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.12-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.13-redis (Chainguard): All versions (No fix recorded)
- chainguard redis-8.0 (Chainguard): All versions (No fix recorded)
- chainguard redis-8.4 (Chainguard): \< 8.4.6-r2
- debian redict (Debian): All versions (No fix recorded)
- debian redis (Debian): \< 5:7.0.15-1~deb12u8 \| \< 5:8.0.2-3+deb13u3 \| \< 5:8.0.6-3
- debian valkey (Debian): All versions (No fix recorded) \| \< 8.1.1+dfsg1-3+deb13u3 \| \< 9.1.1-1
- ubuntu redis (Ubuntu): All versions (No fix recorded)
- redis redis: \< 8.6.3
- redhat redis (Red Hat): \< 0:7.0.12-2.module+el9.4.0+24450+e284b512.8
- redhat redis-debuginfo (Red Hat): \< 0:7.0.12-2.module+el9.4.0+24450+e284b512.8
- redhat redis-debugsource (Red Hat): \< 0:7.0.12-2.module+el9.4.0+24450+e284b512.8
- redhat redis-devel (Red Hat): \< 0:7.0.12-2.module+el9.4.0+24450+e284b512.8
- redhat redis-doc (Red Hat): \< 0:7.0.12-2.module+el9.4.0+24450+e284b512.8

## 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-23631>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2466788>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23631.json>
- <https://access.redhat.com/errata/RHSA-2026:26540>
- <https://access.redhat.com/errata/RHSA-2026:25216>
- <https://access.redhat.com/errata/RHSA-2026:33444>
- <https://access.redhat.com/errata/RHSA-2026:26306>
- <https://access.redhat.com/errata/RHSA-2026:25219>
- <https://access.redhat.com/errata/RHSA-2026:25925>
- <https://access.redhat.com/errata/RHSA-2026:14316>
- <https://security.alpinelinux.org/vuln/CVE-2026-23631>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_33444.json>
- <https://www.cve.org/CVERecord?id=CVE-2026-23631>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-23631>
- <https://ubuntu.com/security/CVE-2026-23631>
- <https://security-tracker.debian.org/tracker/CVE-2026-23631>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23631.json>

---

Data as of 2026-12-05T04:23:19.406Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
