Redis Lua Use-After-Free may lead to remote code execution
redis · redis
The Redis in-memory database contains a use-after-free flaw in its Lua scripting component, which affects all versions that include Lua scripting. An attacker who has already authenticated to the server can submit a specially crafted Lua script that manipulates the garbage collector, potentially leading to remote code execution over the network without user interaction.
Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted Lua script to manipulate the garbage collector, trigger a use-after-free and potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This issue is fixed in version 8.2.2. To workaround this issue without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 4 months after disclosure. Public exploit code (PoC-in-GitHub) was available 6 years before disclosure.
- Public exploit codePoC-in-GitHub6 yrs before
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+4 mo
MITRE ATT&CKA public catalogue of the techniques attackers use, maintained by MITRE. Patchfirst uses it to describe what attackers do with a vulnerability. techniques
No techniques linkedNo ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.
What security researchers reported
Not named in any threat report yetAlso mentioned in 4 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- GenAI Is Both Hunter and Hunted at Pwn2Own Berlin 2026 [Trend Micro Research, News, Perspectives]1 Aug 2026
- EbeeMay2026 Pt424 May 2026
- Misconfigured, Enrolled and Dormant: Anatomy of a P2Pinfect Kubernetes Compromise24 May 2026
- Misconfigured, Enrolled and Dormant: Anatomy of a P2Pinfect Kubernetes Compromise20 May 2026