CVE-2025-21605
Redis DoS Vulnerability due to unlimited growth of output buffers abused by unauthenticated client
Mitigation
- Upgrade redis to 7.4.3 or later.
Who should check
- Anyone running redis >= 2.6, < 7.4.3
Vulnerability facts
- Affected
- redis >= 2.6, < 7.4.3
- Fixed in
- redis 7.4.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 1.09% chance of exploitation in 30 days (percentile 65, 2026-11-26)
- CWE
- CWE-770
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| redis | >= 2.6, < 7.4.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-21605. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-21605.md Affected: redis >= 2.6, < 7.4.3 Fixed in: redis 7.4.3 Steps: 1. Search this machine and project for redis: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://github.com/redis/redis/releases/tag/7.4.3
- https://lists.debian.org/debian-lts-announce/2025/05/msg00014.html
- https://github.com/valkey-io/valkey/releases/tag/8.1.1
- https://www.vicarius.io/vsociety/posts/cve-2025-21605-detection-script-memory-exhaustion-vulnerability-in-redis-database
- https://www.vicarius.io/vsociety/posts/cve-2025-21605-mitigation-script-memory-exhaustion-vulnerability-in-redis-database
FAQ
Is CVE-2025-21605 being exploited?
There is no confirmed exploitation: CVE-2025-21605 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.09% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-21605?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-21605?
redis >= 2.6, < 7.4.3.
Is there a fix for CVE-2025-21605?
Yes. Fixed in redis 7.4.3. Upgrade redis to 7.4.3 or later.
How do I check if I'm affected by CVE-2025-21605?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.