High severity · published Apr 23, 2025
CVE-2025-21605
Redis is an open source, in-memory database that persists on disk
7.5
CVSS
0.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 59% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
Redis · Redis
2.6.0 before 6.2.18; 7.0 before 7.2.8; 7.4.0 before 7.4.3 · source: NVD
DL
Debian Linux · Debian
11.0 · source: NVD
VA
Valkey · Lfprojects
7.2.4 before 7.2.9; 8.0.0 before 8.0.3; 8.1.0 before 8.1.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-21605
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-21605
Release Notes
https://github.com/redis/redis/releases/tag/7.4.3
Third Party Advisory
https://github.com/redis/redis/security/advisories/GHSA-r67f-p999-2gff
Release Notes
https://github.com/valkey-io/valkey/releases/tag/8.1.1
Mailing List
https://lists.debian.org/debian-lts-announce/2025/05/msg00014.html
www.vicarius.io
https://www.vicarius.io/vsociety/posts/cve-2025-21605-detection-script-memory-exhaustion-vulnerability-in-redis-database
www.vicarius.io
https://www.vicarius.io/vsociety/posts/cve-2025-21605-mitigation-script-memory-exhaustion-vulnerability-in-redis-database
More from Redis
10.0
CVE-2022-0543
Debian-specific Redis Server Lua Sandbox Escape Vulnerability
9.9
CVE-2025-49844
Redis is an open source, in-memory database that persists on disk
9.8
CVE-2025-27151
Redis is an open source, in-memory database that persists on disk
9.8
CVE-2024-46981
Redis' Lua library commands may lead to remote code execution
9.8
CVE-2022-3734
Redis on Windows dbghelp.dll uncontrolled search path
