Skip to main content
← All vulnerabilities
CVE-2025-49844

Redis Lua Use-After-Free may lead to remote code execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.2.2
19 proofs of concept on GitHub, 1 Nuclei template
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • redis redis

    fixed in 8.2.2

References 23

GitHub · redis/redis

GitHub · projectdiscovery/nuclei-templates

GitHub · 0xBlackash/CVE-2025-49844

GitHub · Cilectiy/CVE-2025-49844

GitHub · MiclelsonCN/CVE-2025-49844_POC

GitHub · Mufti22/CVE-2025-49844-RediShell-Vulnerability-Scanner

GitHub · Zain3311/CVE-2025-49844

GitHub · angelusrivera/CVE-2025-49844

GitHub · cc3305/CVE-2025-49844

GitHub · dwisiswant0/CVE-2025-49844

GitHub · elyasbassir/CVE-2025-49844

GitHub · gopinaath/CVE-2025-49844-discovery

GitHub · imbas007/CVE-2025-49844-Vulnerability-Scanner

GitHub · ksnnd32/redis_exploit

GitHub · lastvocher/redis-CVE-2025-49844

GitHub · open-flaw/CVE-2025-49844

GitHub · pedrorichil/CVE-2025-49844

GitHub · raminfp/redis_exploit

GitHub · saneki/cve-2025-49844

GitHub · srozb/reditrap

GitHub · zbyszkok/CVE-2025-49844-RediShell-AI-made-Revshell