Vulnerability · Published Apr 23, 2025 · Assigned by GitHub_M

CVE-2025-21605Redis DoS Vulnerability due to unlimited growth of output buffers abused by unauthenticated client

High 7.5

In plain English

A high-severity resource allocation without limits in redis from redis. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.9%top 40.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8redis6.2.18-1.module_el8.10.0+3994+c2cc5395ALSA-2025:7686
AlmaLinux:9redis7.2.8-1.module_el9.6.0+168+b8d8e900ALSA-2025:7429
AlmaLinux:9redis6.2.18-1.el9_6ALSA-2025:7438
AlmaLinux:8redis-devel6.2.18-1.module_el8.10.0+3994+c2cc5395ALSA-2025:7686
AlmaLinux:9redis-devel7.2.8-1.module_el9.6.0+168+b8d8e900ALSA-2025:7429
AlmaLinux:9redis-devel6.2.18-1.el9_6ALSA-2025:7438
AlmaLinux:8redis-doc6.2.18-1.module_el8.10.0+3994+c2cc5395ALSA-2025:7686
AlmaLinux:9redis-doc6.2.18-1.el9_6ALSA-2025:7438
AlmaLinux:9redis-doc7.2.8-1.module_el9.6.0+168+b8d8e900ALSA-2025:7429
AlmaLinux:10valkey8.0.3-1.el10_0ALSA-2025:7509
AlmaLinux:10valkey-devel8.0.3-1.el10_0ALSA-2025:7509
Alpine:v3.20redict7.3.3-r0ALPINE-CVE-2025-21605
Alpine:v3.21redict7.3.3-r0ALPINE-CVE-2025-21605
Alpine:v3.22redict7.3.3-r0ALPINE-CVE-2025-21605
Alpine:v3.23redict7.3.3-r0ALPINE-CVE-2025-21605
Alpine:v3.24redict7.3.3-r0ALPINE-CVE-2025-21605
Alpine:v3.20redis7.2.8-r0ALPINE-CVE-2025-21605
Alpine:v3.21redis7.2.8-r0ALPINE-CVE-2025-21605
Alpine:v3.22redis8.0.0-r0ALPINE-CVE-2025-21605
Alpine:v3.23redis8.0.0-r0ALPINE-CVE-2025-21605
Alpine:v3.24redis8.0.0-r0ALPINE-CVE-2025-21605
Alpine:v3.20valkey7.2.9-r0ALPINE-CVE-2025-21605
Alpine:v3.21valkey7.2.9-r0ALPINE-CVE-2025-21605
Alpine:v3.22valkey7.2.9-r0ALPINE-CVE-2025-21605
Alpine:v3.23valkey7.2.9-r0ALPINE-CVE-2025-21605
Alpine:v3.24valkey7.2.9-r0ALPINE-CVE-2025-21605
Debian:14redict7.3.5+ds-1DEBIAN-CVE-2025-21605
Debian:12redis5:7.0.15-1~deb12u4DEBIAN-CVE-2025-21605
Debian:13redis5:7.0.15-3.1DEBIAN-CVE-2025-21605
Debian:14redis5:7.0.15-3.1DEBIAN-CVE-2025-21605
Debian:13valkey8.1.1+dfsg1-1DEBIAN-CVE-2025-21605
Debian:14valkey8.1.1+dfsg1-1DEBIAN-CVE-2025-21605
Rocky Linux:8redis0:6.2.18-1.module+el8.10.0+1980+8f0924a4RLSA-2025:7686
Rocky Linux:9redis0:6.2.18-1.el9_6RLSA-2025:7438
Rocky Linux:9redis0:7.2.8-1.module+el9.6.0+32036+eb8f79e6RLSA-2025:7429
Rocky Linux:10valkey0:8.0.3-1.el10_0RLSA-2025:7509
Ubuntu:25.10redictno fix listedUBUNTU-CVE-2025-21605
Ubuntu:26.04:LTSredictno fix listedUBUNTU-CVE-2025-21605
Ubuntu:26.10redictno fix listedUBUNTU-CVE-2025-21605
Ubuntu:24.04:LTSredisno fix listedUBUNTU-CVE-2025-21605
Ubuntu:24.04:LTSvalkey7.2.11+dfsg1-0ubuntu0.2UBUNTU-CVE-2025-21605

Affected products (as reported)

VendorProductVersions
redis redis >= 2.6, < 7.4.3

Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References