Lua library commands may lead to stack overflow and RCE in Redis (redis redis)
At a glance
- Source
- NVD
- EPSS
- EPSS 4.46 % · percentile 91 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
Description
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Weaknesses (CWE)
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2024-29337
- GCVE · GCVE-0-2024-31449
CERT-FR advisories
- CERTFR-2026-AVI-1125 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0210 — Multiples vulnérabilités dans VMware Tanzu · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*≥ 2.8.18 < 6.2.16cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*≥ 7.2.0 < 7.2.6cpe:2.3:a:redis:redis:7.4.0:-:*:*:*:*:*:*cpe:2.3:a:redis:redis:7.4.0:rc1:*:*:*:*:*:*cpe:2.3:a:redis:redis:7.4.0:rc2:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| redis · redis | affected >= 2.6, < 6.2.16 ; affected >= 7.0.0, < 7.2.6 ; affected >= 7.3.0, < 7.4.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |