Patchfirst
CVE-2025-49844 Public exploit Critical · 10.0 EPSS 82.6%

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

redis · redis

Summary

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.

Official description · CVE.org

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.

Breakdown
83.5 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 4 months after disclosure. Public exploit code (PoC-in-GitHub) was available 6 years before disclosure.

  1. Public exploit codePoC-in-GitHub6 yrs before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidence+4 mo

techniques

No techniques linked

No 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 yet

Also mentioned in 4 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

5 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close