Remote code executionin Redis.
Proof of concept public (GitHub).
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Upgrade redis to 6.2.16, 7.2.6, 7.4.1 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 3 Apr 2024CVE ID reserved by GitHub_M.
- 7 Oct 2024Published in the CVE List.
- 27 Apr 2025First public proof of concept on GitHub.
- 3 Nov 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Redis vulnerabilities
Same weakness: Improper input validation
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
Patchminder. CVE-2024-31449: Remote code execution in Redis. https://patchminder.com/cve/cve-2024-31449/ (accessed 5 December 2026).