6.3medium
Redis is vulnerable to DoS via specially crafted LUA scripts
- Severity
- 6.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.15% (higher than 67% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-KEYDB-2025-46819BIT-REDIS-2025-46819BIT-VALKEY-2025-46819GHSA-4c68-q8q8-3g4f
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 read out-of-bound data or crash the server and subsequent denial of service. 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 block a script by restricting both the EVAL and FUNCTION command families.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| redis redis | < 8.2.2, before 6.2.20, from 7.0 before 7.2.11, from 7.4.0 before 7.4.6, from 8.0.0 before 8.0.4, from 8.2.0 before 8.2.2 | CVE List, NVD |
| keydb (Bitnami) | before 6.2.20, from 7.0.0 before 7.2.11, from 7.3.0 before 7.4.6, from 8.0.0 before 8.0.4, from 8.1.0 before 8.2.2 | Bitnami Vulnerability Database |
| redis (Bitnami) | before 6.2.20, from 7.0.0 before 7.2.11, from 7.3.0 before 7.4.6, from 8.0.0 before 8.0.4, from 8.1.0 before 8.2.2 | Bitnami Vulnerability Database |
| valkey (Bitnami) | before 7.2.11, from 8.0.0 before 8.0.6, from 8.1.0 before 8.1.4 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 6.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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 read out-of-bound data or crash the server and subsequent denial of service. 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 block a script by restricting both the EVAL and FUNCTION command families.
NVD (es)
Redis es una base de datos en memoria, de código abierto, que persiste en disco. Las versiones 8.2.1 e inferiores permiten a un usuario autenticado usar un script LUA especialmente diseñado para leer datos fuera de límites o bloquear el servidor y la subsiguiente denegación de servicio. El problema existe en todas las versiones de Redis con scripting Lua. Este problema está solucionado en la versión 8.2.2. Para solucionar este problema sin parchear el ejecutable redis-server es evitar que los usuarios ejecuten scripts Lua. Esto se puede hacer usando ACL para bloquear un script restringiendo tanto las familias de comandos EVAL como FUNCTION.
References
| https://github.com/redis/redis/security/advisories/GHSA-4c68-q8q8-3g4f | advisory, third-party-advisory | |
| https://github.com/redis/redis/commit/3a1624da2449ac3dbfc4bdaed43adf77a0b7bfba | fix, patch | |
| https://github.com/redis/redis/releases/tag/8.2.2 | article, release-notes | |
| https://www.vicarius.io/vsociety/posts/cve-2025-46819-detect-redis-vulnerability | advisory, third-party-advisory | |
| https://www.vicarius.io/vsociety/posts/cve-2025-46819-mitigate-redis-vulnerability | advisory, mitigation, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-46819 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-46819 changed 2025-10-31 | CVE Terms of Use |
| NVD | CVE-2025-46819 changed 2026-10-19 | Public domain |
| Bitnami Vulnerability Database | BIT-KEYDB-2025-46819 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-REDIS-2025-46819 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-VALKEY-2025-46819 changed 2026-09-08 | Apache-2.0 |