Redis Lua Use-After-Free may lead to remote code execution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Redis | redis | before 8.2.2 | 8.2.2 | Patch available | CNA |
- redis VendorRedis Affected before 8.2.2 Fixed in 8.2.2 Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* | before 6.2.20; 7.0 to before 7.2.11; 7.4.0 to before 7.4.6; 8.0.0 to before 8.0.4; 8.2.0 to before 8.2.2 | Vulnerable | Redis |
| cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:* | before 7.2.11; 8.0.0 to before 8.0.6; 8.1.0 to before 8.1.4 | Vulnerable | MLflow |
- cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* Versions before 6.2.20; 7.0 to before 7.2.11; 7.4.0 to before 7.4.6; 8.0.0 to before 8.0.4; 8.2.0 to before 8.2.2 Vulnerable ·Redis
- cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:* Versions before 7.2.11; 8.0.0 to before 8.0.6; 8.1.0 to before 8.1.4 Vulnerable ·MLflow
Remediation
- Fix · CNA redis (redis) Fixed in 8.2.2
Red Hat 18 advisories
- RHSA-2025:23207 Released 2025-12-15 · Red Hat rating ImportantRed Hat OpenShift GitOps v1.16.5 security update
- Red Hat OpenShift GitOps 1.16 registry.redhat.io/openshift-gitops-1/argocd-rhel8, registry.redhat.io/openshift-gitops-1/argocd-rhel9, registry.redhat.io/openshift-gitops-1/dex-rhel8 +1
- RHSA-2025:23206 Released 2025-12-15 · Red Hat rating ImportantRed Hat OpenShift GitOps v1.17.3 security update
- Red Hat OpenShift GitOps 1.17 registry.redhat.io/openshift-gitops-1/argocd-rhel8, registry.redhat.io/openshift-gitops-1/argocd-rhel9, registry.redhat.io/openshift-gitops-1/dex-rhel8 +1
- RHSA-2025:23203 Released 2025-12-15 · Red Hat rating ImportantRed Hat OpenShift GitOps v1.18.2 security update
- Red Hat OpenShift GitOps 1.18 registry.redhat.io/openshift-gitops-1/argocd-rhel8, registry.redhat.io/openshift-gitops-1/argocd-rhel9, registry.redhat.io/openshift-gitops-1/gitops-rhel8-operator
Show 15 more Red Hat advisories
- RHSA-2025:21936 Released 2025-11-24 · Red Hat rating Importantvalkey security update
- Red Hat Enterprise Linux AppStream (v. 10) valkey-8.0.6-2.el10_1, valkey-devel-8.0.6-2.el10_1
- RHSA-2025:21916 Released 2025-11-24 · Red Hat rating Importantvalkey security update
- Red Hat Enterprise Linux AppStream (v. 9) valkey-8.0.6-2.el9_7, valkey-devel-8.0.6-2.el9_7
- RHSA-2025:20955 Released 2025-11-11 · Red Hat rating Importantredis:7 security update
- Red Hat Enterprise Linux AppStream (v. 9) redis-7.2.11-1.module+el9.7.0+23559+d075163a.aarch64::redis:7, redis-7.2.11-1.module+el9.7.0+23559+d075163a.ppc64le::redis:7, redis-7.2.11-1.module+el9.7.0+23559+d075163a.s390x::redis:7 +7
- RHSA-2025:20926 Released 2025-11-11 · Red Hat rating Importantredis security update
- Red Hat Enterprise Linux AppStream (v. 9) redis-6.2.20-2.el9_7, redis-devel-6.2.20-2.el9_7, redis-doc-6.2.20-2.el9_7
- RHSA-2025:19675 Released 2025-11-04 · Red Hat rating Importantvalkey security update
- Red Hat Enterprise Linux AppStream (v. 10) valkey-8.0.6-1.el10_0, valkey-devel-8.0.6-1.el10_0
- RHSA-2025:19399 Released 2025-11-03 · Red Hat rating Importantredis:6 security update
- Red Hat Enterprise Linux AppStream E4S (v.8.8) redis-6.2.7-1.module+el8.8.0+23580+a818c120.6.ppc64le::redis:6, redis-6.2.7-1.module+el8.8.0+23580+a818c120.6.src::redis:6, redis-6.2.7-1.module+el8.8.0+23580+a818c120.6.x86_64::redis:6 +3
- Red Hat Enterprise Linux AppStream TUS (v.8.8) redis-6.2.7-1.module+el8.8.0+23580+a818c120.6.src::redis:6, redis-6.2.7-1.module+el8.8.0+23580+a818c120.6.x86_64::redis:6, redis-devel-6.2.7-1.module+el8.8.0+23580+a818c120.6.x86_64::redis:6 +1
- RHSA-2025:19345 Released 2025-10-30 · Red Hat rating Importantredis:7 security update
- Red Hat Enterprise Linux AppStream (v. 9) redis-7.2.11-1.module+el9.6.0+23552+a3d3d132.aarch64::redis:7, redis-7.2.11-1.module+el9.6.0+23552+a3d3d132.ppc64le::redis:7, redis-7.2.11-1.module+el9.6.0+23552+a3d3d132.s390x::redis:7 +7
- RHSA-2025:19318 Released 2025-10-30 · Red Hat rating Importantredis:6 security update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) redis-6.0.9-5.module+el8.4.0+23585+fb4eb024.5.src::redis:6, redis-6.0.9-5.module+el8.4.0+23585+fb4eb024.5.x86_64::redis:6, redis-devel-6.0.9-5.module+el8.4.0+23585+fb4eb024.5.x86_64::redis:6 +1
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) redis-6.0.9-5.module+el8.4.0+23585+fb4eb024.5.src::redis:6, redis-6.0.9-5.module+el8.4.0+23585+fb4eb024.5.x86_64::redis:6, redis-devel-6.0.9-5.module+el8.4.0+23585+fb4eb024.5.x86_64::redis:6 +1
- RHSA-2025:19239 Released 2025-10-29 · Red Hat rating Importantredis:6 security update
- Red Hat Enterprise Linux AppStream AUS (v.8.6) redis-6.0.9-5.module+el8.6.0+23584+001f3496.6.src::redis:6, redis-6.0.9-5.module+el8.6.0+23584+001f3496.6.x86_64::redis:6, redis-devel-6.0.9-5.module+el8.6.0+23584+001f3496.6.x86_64::redis:6 +1
- Red Hat Enterprise Linux AppStream E4S (v.8.6) redis-6.0.9-5.module+el8.6.0+23584+001f3496.6.aarch64::redis:6, redis-6.0.9-5.module+el8.6.0+23584+001f3496.6.ppc64le::redis:6, redis-6.0.9-5.module+el8.6.0+23584+001f3496.6.s390x::redis:6 +7
- Red Hat Enterprise Linux AppStream TUS (v.8.6) redis-6.0.9-5.module+el8.6.0+23584+001f3496.6.src::redis:6, redis-6.0.9-5.module+el8.6.0+23584+001f3496.6.x86_64::redis:6, redis-devel-6.0.9-5.module+el8.6.0+23584+001f3496.6.x86_64::redis:6 +1
- RHSA-2025:19237 Released 2025-10-29 · Red Hat rating Importantredis security update
- Red Hat Enterprise Linux AppStream (v. 9) redis-6.2.20-1.el9_6, redis-devel-6.2.20-1.el9_6, redis-doc-6.2.20-1.el9_6
- RHSA-2025:19238 Released 2025-10-29 · Red Hat rating Importantredis:6 security update
- Red Hat Enterprise Linux AppStream (v. 8) redis-6.2.20-1.module+el8.10.0+23551+d4cd15d7.aarch64::redis:6, redis-6.2.20-1.module+el8.10.0+23551+d4cd15d7.ppc64le::redis:6, redis-6.2.20-1.module+el8.10.0+23551+d4cd15d7.s390x::redis:6 +7
- RHSA-2025:19086 Released 2025-10-23 · Red Hat rating Importantredis security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) redis-6.2.7-1.el9_2.5, redis-devel-6.2.7-1.el9_2.5, redis-doc-6.2.7-1.el9_2.5
- RHSA-2025:18996 Released 2025-10-23 · Red Hat rating Importantredis security update
- Red Hat Enterprise Linux AppStream EUS (v.9.4) redis-6.2.7-1.el9_4.5, redis-devel-6.2.7-1.el9_4.5, redis-doc-6.2.7-1.el9_4.5
- RHSA-2025:18997 Released 2025-10-23 · Red Hat rating Importantredis security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) redis-6.2.6-1.el9_0.5, redis-devel-6.2.6-1.el9_0.5, redis-doc-6.2.6-1.el9_0.5
- RHSA-2025:18931 Released 2025-10-21 · Red Hat rating Importantredis:7 security update
- Red Hat Enterprise Linux AppStream EUS (v.9.4) redis-7.0.12-2.module+el9.4.0+23556+1eb46139.6.aarch64::redis:7, redis-7.0.12-2.module+el9.4.0+23556+1eb46139.6.ppc64le::redis:7, redis-7.0.12-2.module+el9.4.0+23556+1eb46139.6.s390x::redis:7 +7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2025:19675, RHSA-2025:21936 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2025:19238 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:19237, RHSA-2025:19345, RHSA-2025:20926, RHSA-2025:20955, RHSA-2025:21916 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2025:19318 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2025:19239 |
| Red Hat Enterprise Linux AppStream E4S (v.8.6) | Fixed | RHSA-2025:19239 |
| Red Hat Enterprise Linux AppStream E4S (v.8.8) | Fixed | RHSA-2025:19399 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2025:18997 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2025:19086 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2025:18931, RHSA-2025:18996 |
| Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) | Fixed | RHSA-2025:19318 |
| Red Hat Enterprise Linux AppStream TUS (v.8.6) | Fixed | RHSA-2025:19239 |
| Red Hat Enterprise Linux AppStream TUS (v.8.8) | Fixed | RHSA-2025:19399 |
| Red Hat OpenShift GitOps 1.16 | Fixed | RHSA-2025:23207 |
| Red Hat OpenShift GitOps 1.17 | Fixed | RHSA-2025:23206 |
| Red Hat OpenShift GitOps 1.18 | Fixed | RHSA-2025:23203 |
Not affected: 17 products
- Logging Subsystem for Red Hat OpenShift
- Red Hat AI Inference Server
- Red Hat Ansible Automation Platform 2
- Red Hat Connectivity Link 1
- Red Hat Developer Hub 1
- Red Hat Discovery 1
- Red Hat Discovery 2
- Red Hat Enterprise Linux AI (RHEL AI)
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift GitOps
- Red Hat OpenShift GitOps 1.16
- Red Hat OpenShift GitOps 1.17
- Red Hat OpenShift GitOps 1.18
- Red Hat OpenStack Platform 13 (Queens)
- Red Hat Quay 3
- Red Hat Satellite 6
Timeline
- 2026-10-02 Threatist record created from CVE-2025-49844
- 2026-10-27 Affected versions changed · Red Hat
References
More Redis vulnerabilities
- TI-2022-00463 Missing authorization in Debian redis KEVCVSS 3.1CRITICAL 10.0
- TI-2023-18618 Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis CVSS 3.1HIGH 8.8
- TI-2024-20813 Lua library commands may lead to stack overflow and RCE in Redis CVSS 3.1HIGH 8.8
- TI-2022-08647 Heap overflow issue with the Lua cjson library used by Redis CVSS 3.1HIGH 8.8
- TI-2022-08549 Lua scripts can be manipulated to overcome ACL rules in Redis CVSS 3.1HIGH 7.8
- TI-2023-08708 Integer overflow in multiple Redis commands can lead to denial-of-service CVSS 3.1MEDIUM 5.5
Sources
- CVE-2025-49844 · CVE Program
- CVE-2025-49844 · NVD
- FIRST EPSS
- CVE-2025-49844 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences