Affected versions
Ubuntu14.04:LTS/lua5.1
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu16.04:LTS/lua50
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu18.04:LTS/lua5.1
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu18.04:LTS/lua50
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu20.04:LTS/lua50
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/lua5.1
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/redis
- Affected versions
- <5:7.0.15-1ubuntu0.24.04.2
- Fixed version
- 5:7.0.15-1ubuntu0.24.04.2
Ubuntu24.04:LTS/valkey
- Affected versions
- <7.2.11+dfsg1-0ubuntu0.2
- Fixed version
- 7.2.11+dfsg1-0ubuntu0.2
Ubuntu25.10/lua5.1
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu25.10/redict
- Affected versions
- <7.3.5+ds-1ubuntu0.1
- Fixed version
- 7.3.5+ds-1ubuntu0.1
Ubuntu25.10/redis
- Affected versions
- <5:8.0.2-3ubuntu0.25.10.1
- Fixed version
- 5:8.0.2-3ubuntu0.25.10.1
Ubuntu25.10/valkey
- Affected versions
- <8.1.4+dfsg1-0ubuntu0.2
- Fixed version
- 8.1.4+dfsg1-0ubuntu0.2
Ubuntu26.04:LTS/lua5.1
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/lua5.1
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/redis
- Affected versions
- <2:2.8.4-2ubuntu0.2+esm5
- Fixed version
- 2:2.8.4-2ubuntu0.2+esm5
UbuntuPro:16.04:LTS/redis
- Affected versions
- <2:3.0.6-1ubuntu0.4+esm4
- Fixed version
- 2:3.0.6-1ubuntu0.4+esm4
UbuntuPro:18.04:LTS/redis
- Affected versions
- <5:4.0.9-1ubuntu0.2+esm6
- Fixed version
- 5:4.0.9-1ubuntu0.2+esm6
UbuntuPro:20.04:LTS/lua5.1
- Affected versions
- <5.1.5-8.1ubuntu0.20.04.1~esm1
- Fixed version
- 5.1.5-8.1ubuntu0.20.04.1~esm1
UbuntuPro:20.04:LTS/redis
- Affected versions
- <5:5.0.7-2ubuntu0.1+esm4
- Fixed version
- 5:5.0.7-2ubuntu0.1+esm4
UbuntuPro:22.04:LTS/lua5.1
- Affected versions
- <5.1.5-8.1ubuntu0.22.04.1~esm1
- Fixed version
- 5.1.5-8.1ubuntu0.22.04.1~esm1
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.
Links
- https://github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539
- https://github.com/redis/redis/releases/tag/8.2.2
- https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q
- https://github.com/valkey-io/valkey/commit/6dd003e88feace83e55491f32376f6927896e31e
- https://ubuntu.com/security/CVE-2025-49844
- https://ubuntu.com/security/notices/USN-7824-1
- https://ubuntu.com/security/notices/USN-7824-2
- https://ubuntu.com/security/notices/USN-7824-3
- https://ubuntu.com/security/notices/USN-7893-1
- https://ubuntu.com/security/notices/USN-8169-1
- https://ubuntu.com/security/notices/USN-8262-1
- https://www.cve.org/CVERecord?id=CVE-2025-49844

