CVE-2025-49844
CVE-2025-49844 is a critical-severity vulnerability in Redis with a CVSS 3.x base score of 9.9. Its EPSS exploit-prediction score of 87% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-416.
Key facts
- Severity: Critical (CVSS 3.x base score 9.9)
- EPSS exploit prediction: 87% (100th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-33178
- Weakness: CWE-416
- Affected product: Redis
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-49844?
- 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.
- How severe is CVE-2025-49844?
- CVE-2025-49844 has a CVSS 3.x base score of 9.9, rated critical severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-49844 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 87% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-49844?
- CVE-2025-49844 primarily affects Redis. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2025-49844?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2025-49844 have an EU (EUVD) identifier?
- Yes. CVE-2025-49844 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-33178.
- When was CVE-2025-49844 published?
- CVE-2025-49844 was published on 2025-10-03 and last updated on 2026-06-17.
References
- 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
- http://www.openwall.com/lists/oss-security/2025/10/07/2
- https://github.com/lastvocher/redis-CVE-2025-49844
Affected products (2)
- cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
- cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:*
More vulnerabilities in Redis
- CVE-2022-0543 — Critical (CVSS 10.0): It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a…
- CVE-2026-25243 — High (CVSS 8.8): Redis is an in-memory data structure store. In versions of redis-server up to 8.6.3, the RESTORE command does not…
- CVE-2026-23479 — High (CVSS 8.8): Redis is an in-memory data structure store. In redis-server from 7.2.0 until 8.6.3, the unblock client flow does not…
- CVE-2025-62507 — High (CVSS 8.8): Redis is an open source, in-memory database that persists on disk. In versions 8.2.0 and above, a user can run the…
- CVE-2026-23631 — High (CVSS 8.1): Redis is an in-memory data structure store. In all versions of redis-server with Lua scripting, an authenticated…
- CVE-2023-41056 — High (CVSS 8.1): Redis is an in-memory database that persists on disk. Redis incorrectly handles resizing of memory buffers which can…
Other CWE-416 (Use After Free) vulnerabilities
- CVE-2026-13782 — Critical (CVSS 10.0): Use after free in Browser in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the…
- CVE-2026-4725 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Graphics: Canvas2D component. This vulnerability was fixed in Firefox 149…
- CVE-2026-4688 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Disability Access APIs component. This vulnerability was fixed in Firefox…
- CVE-2025-24085 — Critical (CVSS 10.0): A use after free issue was addressed with improved memory management. This issue is fixed in iOS 18.3 and iPadOS 18.3,…
- CVE-2024-43102 — Critical (CVSS 10.0): Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of…
- CVE-2021-32495 — Critical (CVSS 10.0): Radare2 has a use-after-free vulnerability in pyc parser's get_none_object function. Attacker can read freed memory…