CVE-2025-46819
JSON

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 packageVersionsReported 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.2CVE 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.2Bitnami 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.2Bitnami Vulnerability Database
valkey (Bitnami)before 7.2.11, from 8.0.0 before 8.0.6, from 8.1.0 before 8.1.4Bitnami Vulnerability Database

All scores

GitHub_M6.3medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-125CWE-190

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2025-46819 changed 2025-10-31CVE Terms of Use
NVDCVE-2025-46819 changed 2026-10-19Public domain
Bitnami Vulnerability DatabaseBIT-KEYDB-2025-46819 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-REDIS-2025-46819 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-VALKEY-2025-46819 changed 2026-09-08Apache-2.0