CVE-2025-21605
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-04-23
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.9 %
higher than 55 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Debian | Debian Linux | 11.0 | Affected |
| Lfprojects | Valkey | ≥ 7.2.4, < 7.2.9 | Affected |
| Lfprojects | Valkey | ≥ 8.0.0, < 8.0.3 | Affected |
| Lfprojects | Valkey | ≥ 8.1.0, < 8.1.1 | Affected |
| Redis | Redis | ≥ 2.6.0, < 6.2.18 | Affected |
| Redis | Redis | ≥ 7.0, < 7.2.8 | Affected |
| Redis | Redis | ≥ 7.4.0, < 7.4.3 | Affected |
Weakness type
-
CWE-770: Allocation of Resources Without Limits or Throttling
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1498.001: Direct Network Flood
- T1498.002: Reflection Amplification
- T1499: Endpoint Denial of Service
- T1499.001: OS Exhaustion Flood
- T1499.002: Service Exhaustion Flood
- T1499.003: Application Exhaustion Flood
References
- https://github.com/redis/redis/releases/tag/7.4.3
- https://github.com/redis/redis/security/advisories/GHSA-r67f-p999-2gff
- https://github.com/valkey-io/valkey/releases/tag/8.1.1
- https://lists.debian.org/debian-lts-announce/2025/05/msg00014.html
- https://www.vicarius.io/vsociety/posts/cve-2025-21605-detection-script-memory-exhaustion-…
- https://www.vicarius.io/vsociety/posts/cve-2025-21605-mitigation-script-memory-exhaustion…
Related at Berigo
Articles
-
An eighteen-year-old Linux kernel flaw hands ordinary users root
Same product
2026-08-08
Tencent Zhuque Lab has found a flaw in the SCTP part of the Linux kernel that has been there since 2008. An ordinary user can use it to gain root, an…
-
Bad Epoll grants root access in the Linux kernel
Same product
2026-07-03
CVE-2026-46242 is a use-after-free in the Linux kernel's epoll that lets an unprivileged process gain root on servers, desktops and Android devices.
-
Synacktiv: unauthenticated code execution in Argo CD with no official fix
Same product
2026-07-01
Synacktiv has published a flaw in Argo CD's repo-server that can give unauthenticated code execution and, at worst, full Kubernetes cluster compromis…
-
PCPJack spreads through cloud estates and steals credentials
Same product
2026-05-08
SentinelLABS has identified PCPJack, a framework that spreads between exposed cloud services and harvests credentials at scale.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.