CVE-2025-21605
JSON

7.5high

Redis DoS Vulnerability due to unlimited growth of output buffers abused by unauthenticated client

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.89% (higher than 60% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-KEYDB-2025-21605BIT-REDIS-2025-21605BIT-VALKEY-2025-21605GHSA-r67f-p999-2gff

Description

Redis is an open source, in-memory database that persists on disk. In versions starting at 2.6 and prior to 7.4.3, An unauthenticated client can cause unlimited growth of output buffers, until the server runs out of memory or is killed. By default, the Redis configuration does not limit the output buffer of normal clients (see client-output-buffer-limit). Therefore, the output buffer can grow unlimitedly over time. As a result, the service is exhausted and the memory is unavailable. When password authentication is enabled on the Redis server, but no password is provided, the client can still cause the output buffer to grow from "NOAUTH" responses until the system will run out of memory. This issue has been patched in version 7.4.3. An additional workaround to mitigate this problem without patching the redis-server executable is to block access to prevent unauthenticated users from connecting to Redis. This can be done in different ways. Either using network access control tools like firewalls, iptables, security groups, etc, or enabling TLS and requiring users to authenticate using client side certificates.

Affected

Product or packageVersionsReported by
redis redis>= 2.6, < 7.4.3, from 2.6.0 before 6.2.18, from 7.0 before 7.2.8, from 7.4.0 before 7.4.3CVE List, NVD
lfprojects valkeyfrom 7.2.4 before 7.2.9, from 8.0.0 before 8.0.3, from 8.1.0 before 8.1.1NVD
debian debian_linux11.0NVD
keydb (Bitnami)from 2.6.0 before 6.2.18, from 7.0.0 before 7.2.8, from 7.3.0 before 7.4.3Bitnami Vulnerability Database
redis (Bitnami)from 2.6.0 before 6.2.18, from 7.0.0 before 7.2.8, from 7.3.0 before 6.2.18, from 7.2.0 before 7.2.8, from 7.4.0 before 7.4.3Bitnami Vulnerability Database
valkey (Bitnami)before 7.2.9, from 8.0.0 before 8.0.3, from 8.1.0 before 8.1.1Bitnami Vulnerability Database

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-770

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

What each source says

CVE List

Redis is an open source, in-memory database that persists on disk. In versions starting at 2.6 and prior to 7.4.3, An unauthenticated client can cause unlimited growth of output buffers, until the server runs out of memory or is killed. By default, the Redis configuration does not limit the output buffer of normal clients (see client-output-buffer-limit). Therefore, the output buffer can grow unlimitedly over time. As a result, the service is exhausted and the memory is unavailable. When password authentication is enabled on the Redis server, but no password is provided, the client can still cause the output buffer to grow from "NOAUTH" responses until the system will run out of memory. This issue has been patched in version 7.4.3. An additional workaround to mitigate this problem without patching the redis-server executable is to block access to prevent unauthenticated users from connecting to Redis. This can be done in different ways. Either using network access control tools like firewalls, iptables, security groups, etc, or enabling TLS and requiring users to authenticate using client side certificates.

NVD (es)

Redis es una base de datos en memoria de código abierto que persiste en el disco. En versiones a partir de la 2.6 y anteriores a la 7.4.3, un cliente no autenticado puede provocar un crecimiento ilimitado de los búferes de salida, hasta que el servidor se quede sin memoria o se cierre. De forma predeterminada, la configuración de Redis no limita el búfer de salida de los clientes normales (véase client-output-buffer-limit). Por lo tanto, el búfer de salida puede crecer ilimitadamente con el tiempo. Como resultado, el servicio se agota y la memoria no está disponible. Cuando la autenticación con contraseña está habilitada en el servidor Redis, pero no se proporciona ninguna contraseña, el cliente puede provocar que el búfer de salida crezca a partir de respuestas "NOAUTH" hasta que el sistema se quede sin memoria. Este problema se ha corregido en la versión 7.4.3. Otro workaround para mitigar este problema sin parchear el ejecutable redis-server es bloquear el acceso para evitar que usuarios no autenticados se conecten a Redis. Esto se puede hacer de diferentes maneras. Ya sea utilizando herramientas de control de acceso a la red, como firewalls, iptables, grupos de seguridad, etc., o habilitando TLS y requiriendo que los usuarios se autentiquen utilizando certificados del lado del cliente.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21605 changed 2026-02-10CVE Terms of Use
NVDCVE-2025-21605 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-KEYDB-2025-21605 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-REDIS-2025-21605 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-VALKEY-2025-21605 changed 2026-09-08Apache-2.0