CVE-2025-21605
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedRedis 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceUnauthenticated Redis clients can cause unlimited growth of output buffers by triggering large responses (including NOAUTH authentication error messages), leading to memory exhaustion. Versions 2.6 through 7.4.2 are affected; the default client-output-buffer-limit configuration allows normal clients to grow buffers without restriction.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 2.6.0, < 6.2.18>= 7.0, < 7.2.8>= 7.4.0, < 7.4.3= 11.0>= 7.2.4, < 7.2.9>= 8.0.0, < 8.0.3>= 8.1.0, < 8.1.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the installed Redis or Valkey versionRun `redis-server --version` or `valkey-server --version` to see the exact version numberAffected if The version falls within any of these ranges: >= 2.6.0 and < 6.2.18, >= 7.0 and < 7.2.8, >= 7.4.0 and < 7.4.3 (for Redis); >= 7.2.4 and < 7.2.9, >= 8.0.0 and < 8.0.3, >= 8.1.0 and < 8.1.1 (for Valkey)
-
Check if the server is reachable without authenticationRun `redis-cli ping` or `nc -zv <host> 6379` from an untrusted network location, or check the `protected-mode` and `bind` settings in the config fileAffected if The server responds to unauthenticated connections (protected-mode is set to no, or bind allows external access without requirepass being set)
-
Inspect the client-output-buffer-limit configurationRun `redis-cli CONFIG GET client-output-buffer-limit` to see the current buffer limit settingsAffected if The default limits are in use and allow normal clients to grow buffers without restriction (limits are set to 0 or very high values)
-
Verify memory usage growth patternMonitor the Redis process memory usage over time with `redis-cli INFO memory` or system tools like `ps` or `top` while allowing unauthenticated connectionsAffected if Memory usage continuously grows without bound when clients connect and trigger responses, including authentication error messages
You are affected if you run a vulnerable Redis/Valkey version (2.6.0 to 7.4.2 for Redis, 7.2.4 to 8.1.1 for Valkey) AND the server accepts unauthenticated connections, allowing clients to trigger unbounded output buffer growth leading to memory exhaustion.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped6.2.187.2.87.2.9
Upgrade Redis to version 7.4.3 or later, which includes the patch for this vulnerability. As a compensating control, implement network-level access restrictions (firewalls, iptables, or TLS with client certificate authentication) to block unauthenticated access.
Redis: 6.2.18, 7.2.8, or 7.4.3 depending on current branch; Valkey: 7.2.9, 8.0.3, or 8.1.1 depending on current branch; Debian: install latest redis security updates
- 1. Identify current Redis or Valkey version by running 'redis-server --version' or 'valkey-server --version'
- 2. For Redis users: If version is < 6.2.18, upgrade to 6.2.18 or later; if 7.0-7.2.x, upgrade to 7.2.8 or later; if 7.4.0-7.4.2, upgrade to 7.4.3
- 3. For Valkey users: If version is 7.2.4-7.2.8, upgrade to 7.2.9; if 8.0.0-8.0.2, upgrade to 8.0.3; if 8.1.0, upgrade to 8.1.1
- 4. For Debian 11 systems: Apply Debian security updates for the redis package via 'apt update && apt upgrade redis-server'
- 5. After upgrade, verify the new version is running: 'redis-server --version' or 'valkey-server --version'
- 6. Restart the Redis/Valkey service: 'systemctl restart redis-server' or 'systemctl restart valkey-server'
- 7. If immediate patching is not possible, mitigate by restricting network access: configure firewall/iptables to allow only trusted IPs on Redis port (default 6379), or enable requirepass and TLS client certificates
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-21605 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-21605 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data