{"id":"CVE-2025-49844","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-49844","generatedAt":"2026-11-02T15:00:37.530Z","title":"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.","description":"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.","published":"2025-10-03T20:15:33.000Z","lastModified":"2026-10-19T16:10:00.000Z","status":"Modified","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":9.9,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},"cwe":["CWE-416"],"affected":["redis/redis","lfprojects/valkey"],"epss":{"score":0.82638,"percentile":0.99666,"date":"2026-11-01","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 82.6%, higher than 100% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"https://github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/redis/redis/releases/tag/8.2.2","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q","tags":["Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"http://www.openwall.com/lists/oss-security/2025/10/07/2","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/lastvocher/redis-CVE-2025-49844","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-49844","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}