CVE-2025-49844
Publication date 3 October 2025
Last updated 8 October 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Why is this CVE high priority?
This CVE is likely easy to exploit in the default configuration
Status
Package | Ubuntu Release | Status |
---|---|---|
redict | 25.10 questing |
Vulnerable
|
25.04 plucky |
Vulnerable
|
|
24.04 LTS noble | Not in release | |
22.04 LTS jammy | Not in release | |
redis | 25.10 questing |
Vulnerable
|
25.04 plucky |
Vulnerable
|
|
24.04 LTS noble |
Vulnerable
|
|
22.04 LTS jammy |
Vulnerable
|
|
20.04 LTS focal |
Vulnerable
|
|
18.04 LTS bionic |
Vulnerable
|
|
16.04 LTS xenial |
Vulnerable
|
|
14.04 LTS trusty |
Vulnerable
|
|
valkey | 25.10 questing |
Vulnerable
|
25.04 plucky |
Vulnerable
|
|
24.04 LTS noble |
Vulnerable
|
|
22.04 LTS jammy | Not in release |
Severity score breakdown
Parameter | Value |
---|---|
Base score |
|
Attack vector | Network |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Changed |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
References
Other references
- https://www.cve.org/CVERecord?id=CVE-2025-49844
- https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q
- https://github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539 (8.2.2)
- https://github.com/valkey-io/valkey/commit/6dd003e88feace83e55491f32376f6927896e31e
- https://github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539
- https://github.com/redis/redis/releases/tag/8.2.2