{"id":"CVE-2025-49844","published":"2025-10-03T19:27:23Z","modified":"2026-03-20T14:08:37Z","title":"Redis Lua Use-After-Free may lead to remote code execution","vendor":"redis","product":"redis","tier":"core","eol":null,"affectedVersions":[{"vendor":"redis","product":"redis","versions":["< 8.2.2"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:11:40Z"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.82638,"percentile":0.99665,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-12-23","exploitedFirstSeen":"2026-01-19","ransomware":true,"evidence":[{"url":"https://hs-21289959.f.hubspotemail.net/hubfs/21289959/Annual%20Threat%20Landscape%20Report_2025.pdf","date":"2026-01-19"},{"url":"https://b9866c47-b467-4bc0-b154-6afa06da0ab5.usrfiles.com/ugd/b9866c_2578eb8c8ffe4257b30efef3ad0f953e.pdf","date":"2026-02-12"},{"url":"https://wwv.vulncheck.com/2026-vulncheck-exploit-intelligence-report","date":"2026-02-25"},{"url":"https://www.fortinet.com/blog/threat-research/misconfigured-enrolled-and-dormant-anatomy-of-a-p2pinfect-kubernetes-compromise","date":"2026-05-20"}],"evidenceTotal":4,"provenance":"source"},"exploited":true,"otx":{"pulseCount":4,"pulses":[{"name":"GenAI Is Both Hunter and Hunted at Pwn2Own Berlin 2026 [Trend Micro Research, News, Perspectives]","url":"https://otx.alienvault.com/pulse/6a6d60ca268eedd59d9fc04d","created":"2026-08-01"},{"name":"EbeeMay2026 Pt4","url":"https://otx.alienvault.com/pulse/6a12fc685c724f6f873953e6","created":"2026-05-24"},{"name":"Misconfigured, Enrolled and Dormant: Anatomy of a P2Pinfect Kubernetes Compromise","url":"https://otx.alienvault.com/pulse/6a128426233c5c395554dc5d","created":"2026-05-24"},{"name":"Misconfigured, Enrolled and Dormant: Anatomy of a P2Pinfect Kubernetes Compromise","url":"https://otx.alienvault.com/pulse/6a0e3753562a6e67c9d9aac4","created":"2026-05-20"}],"provenance":"machine"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/releases/tag/8.2.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/lastvocher/redis-CVE-2025-49844","tags":["exploit"]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/07/2","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2025-33178","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-33178","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":17,"skipped":2,"earliest":"2019-04-13","earliestUrl":"https://github.com/ksnnd32/redis_exploit","repos":[{"name":"raminfp/redis_exploit","url":"https://github.com/raminfp/redis_exploit","stars":345,"created":"2025-10-07"},{"name":"dwisiswant0/CVE-2025-49844","url":"https://github.com/dwisiswant0/CVE-2025-49844","stars":67,"created":"2025-10-07"},{"name":"saneki/cve-2025-49844","url":"https://github.com/saneki/cve-2025-49844","stars":26,"created":"2025-10-31"},{"name":"lastvocher/redis-CVE-2025-49844","url":"https://github.com/lastvocher/redis-CVE-2025-49844","stars":14,"created":"2025-10-07"},{"name":"pedrorichil/CVE-2025-49844","url":"https://github.com/pedrorichil/CVE-2025-49844","stars":6,"created":"2025-10-08"}]},"nuclei":[{"id":"CVE-2025-49844","name":"Redis Lua Parser < 8.2.2 - Use After Free","severity":"critical","path":"javascript/cves/2025/CVE-2025-49844.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2025/CVE-2025-49844.yaml"}],"first":{"date":"2019-04-13","source":"PoC-in-GitHub","url":"https://github.com/ksnnd32/redis_exploit"},"provenance":"source"},"exploitRefs":["https://github.com/lastvocher/redis-CVE-2025-49844"],"flow":[],"timeline":[{"date":"2019-04-13","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/ksnnd32/redis_exploit","provenance":"source"},{"date":"2025-10-03","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2025-49844","provenance":"source"},{"date":"2026-01-19","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://hs-21289959.f.hubspotemail.net/hubfs/21289959/Annual%20Threat%20Landscape%20Report_2025.pdf","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":83.5,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 311 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.93,"detail":"percentile 0.9967"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 17 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.59,"detail":"4 pulses"},{"name":"CVSS severity","points":7.0,"detail":"base score 10"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}