CVE-2025-49844: Lua5.1 · Redis is an open source, in-memory database that persists on disk
Affects lua5.1Source GCVE Database
Not known to be exploited · public detection template (Nuclei) · 83% EPSS · CVSS 9.9 Critical · fixed in 2:2.8.4-2ubuntu0.2+esm5 : patch lua5.1 as a priority.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 83.1% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2:2.8.4-2ubuntu0.2+esm5, 2:3.0.6-1ubuntu0.4+esm4, 5:4.0.9-1ubuntu0.2+esm6 +8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Oct 2025
Detectable: evidence found.
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7824-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7824-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7824-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7893-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8169-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8262-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10lua5.1pkg:deb/ubuntu/lua5.1?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlua5.1pkg:deb/ubuntu/lua5.1?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10lua5.1pkg:deb/ubuntu/lua5.1?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10redictpkg:deb/ubuntu/redict?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10redispkg:deb/ubuntu/redis?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10valkeypkg:deb/ubuntu/valkey?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-49844 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-49844 (opens in a new tab)
- github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q (opens in a new tab)
- github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539 (opens in a new tab)
- github.com/valkey-io/valkey/commit/6dd003e88feace83e55491f32376f6927896e31e (opens in a new tab)
- github.com/redis/redis/releases/tag/8.2.2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7824-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7824-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7824-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7893-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8169-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8262-1 (opens in a new tab)