Resource exhaustion in Lfprojects Valkey
CVE-2025-21605
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.009 (56.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 56.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: +0.000
Affected products
- Lfprojects Valkey
- Redis — versions >= 2.6, < 7.4.3
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/redis/redis/security/advisories/GHSA-r67f-p999-2gff (Third Party Advisory)
- github.com/redis/redis/releases/tag/7.4.3 (Release Notes)
- af854a3a-2127-422b-91ae-364da2661108 (Release Notes)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List)
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2025-21605?
- CVE-2025-21605 is a high-severity vulnerability in Lfprojects Valkey, classified under Allocation of Resources Without Limits or Throttling. CVSS score: 7.5/10. Published 2025-04-23.
- How severe is CVE-2025-21605?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2025-21605 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.