Vulnerabilities · 2025 · Redis
CVE-2025-49844
Redis vulnerability
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.
Affected products
Redis, Valkey. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Redis runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539 · Patch
- github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q · Third Party Advisory
- www.openwall.com/lists/oss-security/2025/10/07/2 · Third Party Advisory
- github.com/redis/redis/releases/tag/8.2.2
- github.com/lastvocher/redis-CVE-2025-49844
- nvd.nist.gov/vuln/detail/CVE-2025-49844
- cve.org/CVERecord?id=CVE-2025-49844
More vulnerabilities in Redis products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.