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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 60% of CVEs (2026-12-01)
- Published: 2025-04-23T15:38:11.042Z
- Modified: 2026-09-08T08:48:21.005Z
- Also known as: BIT-KEYDB-2025-21605, BIT-REDIS-2025-21605, BIT-VALKEY-2025-21605, GHSA-r67f-p999-2gff
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- redis redis: >= 2.6, < 7.4.3; from 2.6.0 before 6.2.18; from 7.0 before 7.2.8; from 7.4.0 before 7.4.3
- lfprojects valkey: from 7.2.4 before 7.2.9; from 8.0.0 before 8.0.3; from 8.1.0 before 8.1.1
- debian debian_linux: 11.0
- keydb (Bitnami): from 2.6.0 before 6.2.18; from 7.0.0 before 7.2.8; from 7.3.0 before 7.4.3
- redis (Bitnami): from 2.6.0 before 6.2.18; from 7.0.0 before 7.2.8; from 7.3.0 before 6.2.18; from 7.2.0 before 7.2.8; from 7.4.0 before 7.4.3
- valkey (Bitnami): before 7.2.9; from 8.0.0 before 8.0.3; from 8.1.0 before 8.1.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/redis/redis/security/advisories/GHSA-r67f-p999-2gff> (advisory, third-party-advisory)
- <https://github.com/redis/redis/releases/tag/7.4.3> (article, release-notes)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00014.html> (discussion, mailing-list)
- <https://github.com/valkey-io/valkey/releases/tag/8.1.1> (article, release-notes)
- <https://www.vicarius.io/vsociety/posts/cve-2025-21605-detection-script-memory-exhaustion-vulnerability-in-redis-database> (web)
- <https://www.vicarius.io/vsociety/posts/cve-2025-21605-mitigation-script-memory-exhaustion-vulnerability-in-redis-database> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-21605> (web)

## Sources

- CVE List: [CVE-2025-21605](https://www.cve.org/CVERecord?id=CVE-2025-21605), CVE Terms of Use, modified 2026-02-10
- NVD: [CVE-2025-21605](https://nvd.nist.gov/vuln/detail/CVE-2025-21605), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-KEYDB-2025-21605](https://osv.dev/vulnerability/BIT-KEYDB-2025-21605), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-REDIS-2025-21605](https://osv.dev/vulnerability/BIT-REDIS-2025-21605), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-VALKEY-2025-21605](https://osv.dev/vulnerability/BIT-VALKEY-2025-21605), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-21605 · Whole record: https://cve.day/CVE-2025-21605.json · Rebuilt by cve.day 2026-11-25T22:58:56.855Z
