{"id":"CVE-2025-49844","aliases":["CVE-2025-49844","BIT-KEYDB-2025-49844","BIT-REDIS-2025-49844","BIT-VALKEY-2025-49844","GHSA-4789-qfc9-5f9q"],"related":[],"kind":"vulnerability","state":"published","title":"Redis Lua Use-After-Free may lead to remote code execution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Redis es una base de datos en memoria de código abierto que persiste en disco. Las versiones 8.2.1 e inferiores permiten a un usuario autenticado usar un script Lua especialmente diseñado para manipular el recolector de basura, desencadenar un uso después de liberación y potencialmente conducir a la ejecución remota de código. El problema existe en todas las versiones de Redis con scripting Lua. Este problema está solucionado en la versión 8.2.2. Para solucionar este problema sin parchear el ejecutable del servidor Redis es evitar que los usuarios ejecuten scripts Lua. Esto se puede hacer usando ACL para restringir los comandos EVAL y EVALSHA.","source":"nvd"}],"published":"2025-10-03T19:27:23.609Z","modified":"2026-10-19T16:10:00.260Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":"< 8.2.2","status":"affected"}],"vendor":"redis","product":"redis","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.2.20"},{"status":"affected","introduced":"7.0","fixed":"7.2.11"},{"status":"affected","introduced":"7.4.0","fixed":"7.4.6"},{"status":"affected","introduced":"8.0.0","fixed":"8.0.4"},{"status":"affected","introduced":"8.2.0","fixed":"8.2.2"}],"vendor":"redis","product":"redis","cpe":"cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"7.2.11"},{"status":"affected","introduced":"8.0.0","fixed":"8.0.6"},{"status":"affected","introduced":"8.1.0","fixed":"8.1.4"}],"vendor":"lfprojects","product":"valkey","cpe":"cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.2.20"},{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.2.11"},{"type":"semver","introduced":"7.3.0","status":"affected","fixed":"7.4.6"},{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.0.4"},{"type":"semver","introduced":"8.1.0","status":"affected","fixed":"8.2.2"}],"ecosystem":"Bitnami","package":"keydb","purl":"pkg:bitnami/keydb","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.2.20"},{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.2.11"},{"type":"semver","introduced":"7.3.0","status":"affected","fixed":"7.4.6"},{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.0.4"},{"type":"semver","introduced":"8.1.0","status":"affected","fixed":"8.2.2"}],"ecosystem":"Bitnami","package":"redis","purl":"pkg:bitnami/redis","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"7.2.11"},{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.0.6"},{"type":"semver","introduced":"8.1.0","status":"affected","fixed":"8.1.4"}],"ecosystem":"Bitnami","package":"valkey","purl":"pkg:bitnami/valkey","source":"bitnami"}],"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q","tags":["advisory","third-party-advisory","x-refsource-confirm"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539","tags":["fix","patch","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/redis/redis/releases/tag/8.2.2","tags":["article","release-notes","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/lastvocher/redis-CVE-2025-49844","tags":["exploit","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/07/2","tags":["advisory","mailing-list","third-party-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49844","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-03-20T03:55:40.030Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-49844","url":"https://www.cve.org/CVERecord?id=CVE-2025-49844","licence":"CVE Terms of Use","modified":"2026-03-20T14:08:37.823Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-49844","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49844","licence":"Public domain","modified":"2026-10-19T16:10:00.260Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-KEYDB-2025-49844","url":"https://osv.dev/vulnerability/BIT-KEYDB-2025-49844","licence":"Apache-2.0","modified":"2026-09-08T08:48:07.624Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-REDIS-2025-49844","url":"https://osv.dev/vulnerability/BIT-REDIS-2025-49844","licence":"Apache-2.0","modified":"2026-09-08T08:48:19.095Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-VALKEY-2025-49844","url":"https://osv.dev/vulnerability/BIT-VALKEY-2025-49844","licence":"Apache-2.0","modified":"2026-09-08T08:48:21.220Z"}],"updatedAt":"2026-11-25T22:59:05.503Z","epss":{"score":0.05432,"percentile":0.93501,"date":"2026-11-30T12:00:22.000Z"}}