Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Redis | Redis | >= 2.6.0, < 6.2.18 |
| Lfprojects | Valkey | >= 7.2.4, < 7.2.9 |
| Debian | Debian Linux | 11.0 |
Related Weaknesses (CWE)
References
- https://github.com/redis/redis/releases/tag/7.4.3Release Notes
- https://github.com/redis/redis/security/advisories/GHSA-r67f-p999-2gffThird Party Advisory
- https://github.com/valkey-io/valkey/releases/tag/8.1.1Release Notes
- https://lists.debian.org/debian-lts-announce/2025/05/msg00014.htmlMailing List
- https://www.vicarius.io/vsociety/posts/cve-2025-21605-detection-script-memory-ex
- https://www.vicarius.io/vsociety/posts/cve-2025-21605-mitigation-script-memory-e
FAQ
What is CVE-2025-21605?
CVE-2025-21605 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ser...
How severe is CVE-2025-21605?
CVE-2025-21605 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-21605?
Check the references section above for vendor advisories and patch information. Affected products include: Redis Redis, Lfprojects Valkey, Debian Debian Linux.