# CVE-2025-49844: Redis Lua Use-After-Free may lead to remote code execution

> CVE-2025-49844: Redis Lua Use-After-Free may lead to remote code execution. CVSS 10.0 (CVSS 3.1), named in 2 status incident(s).

Canonical: https://rewindex.com/cve/CVE-2025-49844
Last updated: 2026-10-19T16:10:00Z

- Published: 2025-10-03 19:27 UTC · Updated: 2026-10-19 16:10 UTC · Assigner: GitHub\_M
- CVSS: 10.0 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 82.6%, 100th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-416

## 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.

## Affected vendors and products

- redis: redis

## Tracked companies

- [Redis](https://rewindex.com/company/redis.md)

## Status incidents that name it

- 2025-10-16 01:00 UTC [Render: \[Scheduled\] Remediation for Render KeyValue/Redis security bulletin: CVE-2025-49844](https://rewindex.com/company/render/incidents/rrsf9ghw8pyk.md) (names this CVE): “\[Scheduled\] Remediation for Render KeyValue/Redis security bulletin: CVE-2025-49844 The scheduled maintenance has been completed.”
- 2025-10-10 15:53 UTC [Aptible: Redis Security Advisory (CVE-2025-49844)](https://rewindex.com/company/aptible/incidents/7w9lwqflwc9q.md) (names this CVE): “Redis Security Advisory (CVE-2025-49844) Aptible has reviewed and addressed the Redis vulnerability described in \<a…”

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-49844)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-49844)
- [https://github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539](https://github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539)
- [https://github.com/redis/redis/releases/tag/8.2.2](https://github.com/redis/redis/releases/tag/8.2.2)
- [https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q](https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-49844 · Markdown: https://rewindex.com/cve/CVE-2025-49844.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-49844 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:14:49.656Z
