CVE-2025-49844: Redis - Remote Code Execution
- Cve: CVE-2025-49844
- Name: Redis - Remote Code Execution
- 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.
- Impact: Authenticated users can execute arbitrary code remotely, potentially leading to full server compromise.
- Remediation: Update to version 8.2.2 or later; alternatively, restrict EVAL and EVALSHA commands using ACL.
- Vulnerability type: use_after_free
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker must be authenticated to execute Lua scripts
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.83161
- Epss percentile: 0.99683
- Assignee: [email protected]
- Published at: 2025-10-03T20:15:32Z
- Age in days: 417
- Modified at: 2026-10-19T16:10:00Z
- Patch available: yes
- Public exploits total: 26
- References total: 11
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-49844
- Nvd status: modified
- Checked, none or zero: public exploits capped, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2025-12-23 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2025-49844 | https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2025/CVE-2025-49844.yaml |
Hackerone
- Reports: 5
- Rank: 2666
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/cc3305/CVE-2025-49844 | poc-in-github | 2026-06-16 |
| https://github.com/cc3305/CVE-2025-49844.git | vulncheck-xdb | 2026-06-16 |
| https://github.com/open-flaw/CVE-2025-49844 | poc-in-github | 2026-04-06 |
| https://github.com/open-flaw/CVE-2025-49844.git | vulncheck-xdb | 2026-04-06 |
| https://github.com/Cilectiy/CVE-2025-49844 | poc-in-github | 2026-03-13 |
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| redis:redis | >= 8.2.0, < 8.2.2; >= 8.0.0, < 8.0.4; >= 7.4.0, < 7.4.6; >= 7.0, < 7.2.11; < 6.2.20 | no | nvd | /v1/products/redis/redis |
| lfprojects:valkey | >= 8.1.0, < 8.1.4; >= 8.0.0, < 8.0.6; < 7.2.11 | no | nvd | /v1/products/lfprojects/valkey |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| redis/redis | commit, fix, releases, security_advisory | yes | /v1/repositories/redis/redis |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2025-12-23
- Public exploit: yes
- Public exploit count: 26
- Public exploit first date: 2019-04-13
- Remote: yes
- Authentication required: yes
- Hackerone reports: 5
- Exposed hosts: 38612
- Checked, none or zero: known exploited, exploitation seen, initial access
- Not known: known exploited since, initial access since