CVE-2025-49844
Last modified
CVE-2025-49844 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. 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. EPSS estimates a 86.27% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redis | Redis | < 6.2.20 |
| Redis | Redis | >= 7.0, < 7.2.11 |
| Redis | Redis | >= 7.4.0, < 7.4.6 |
| Redis | Redis | >= 8.0.0, < 8.0.4 |
| Redis | Redis | >= 8.2.0, < 8.2.2 |
| Lfprojects | Valkey | < 7.2.11 |
| Lfprojects | Valkey | >= 8.0.0, < 8.0.6 |
| Lfprojects | Valkey | >= 8.1.0, < 8.1.4 |
References
- https://github.com/redis/redis/releases/tag/8.2.2Release Notes
- https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9qThird Party Advisory
- http://www.openwall.com/lists/oss-security/2025/10/07/2Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-49844?
How severe is CVE-2025-49844?
How do I fix CVE-2025-49844?
Are you affected by CVE-2025-49844?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
