Use After Free in Redis

CVE-2026-23631

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.

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.

EPSS exploit prediction

EPSS: 0.028 (85.9th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 85.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-23631: held from 0.028 to 0.028.

EPSS over last 30 days · oldest: 0.028 · newest: 0.028 · change: 0.000

Affected products

  • Redis — versions < 8.6.3

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-23631?
CVE-2026-23631 is a high-severity vulnerability in Redis, classified under Use After Free. CVSS score: 8.1/10. Published 2026-05-05.
How severe is CVE-2026-23631?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2026-23631 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.