CVE-2025-21605: Redis DoS Vulnerability due to unlimited growth of output buffers abused by unauthenticated client
Noroxi assessment
Priority: Monitor (action score 30/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.87% (FIRST EPSS); higher than 59.1% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: redis redis 7.4.3; azl3 valkey 8.0.2-1 on Azure Linux 3.0 8.0.3-1; azl3 valkey 8.0.3-1 on Azure Linux 3.0 8.0.3-1.
Low priority for now. Upgrade to redis redis 7.4.3; azl3 valkey 8.0.2-1 on Azure Linux 3.0 8.0.3-1; azl3 valkey 8.0.3-1 on Azure Linux 3.0 8.0.3-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2025-05997
- ALSA-2025:7429
- ALSA-2025:7438
- ALSA-2025:7509
- ALSA-2025:7686
- DLA-4162-1
- openSUSE-SU-2025:15035-1
- openSUSE-SU-2025:15293-1
- RHSA-2025:4441
- RHSA-2025:4561
- RHSA-2025:4577
- RHSA-2025:4607
- RHSA-2025:4788
- RHSA-2025:4789
- RHSA-2025:7429
- RHSA-2025:7438
- RHSA-2025:7509
- RHSA-2025:7538
- RHSA-2025:7630
- RHSA-2025:7686
- Published
- Apr 23, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.8% · 59th percentile
- CWE
- CWE-770
Report tools
Action score
30
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.8%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GitHub_M
- 7.5
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| redis | redis | cpe:2.3:a:redis:redis |
| lfprojects | valkey | cpe:2.3:a:lfprojects:valkey |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Using redis? Add it to your stack and be the first to know about CVEs like this one. (Redis)
Is Redis on your server exposed to the internet?
The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.
Run a port scanAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- redis redis2.6.0 and later · before 6.2.18
- redis redis7.0 and later · before 7.2.8
- redis redis7.4.0 and later · before 7.4.3
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
redis redis
- >= 2.6, < 7.4.3affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | valkey | before 8.0.3-1.el10_0 | 8.0.3-1.el10_0 |
| AlmaLinux:10 | valkey-devel | before 8.0.3-1.el10_0 | 8.0.3-1.el10_0 |
| AlmaLinux:8 | redis | before 6.2.18-1.module_el8.10.0+3994+c2cc5395 | 6.2.18-1.module_el8.10.0+3994+c2cc5395 |
| AlmaLinux:8 | redis-devel | before 6.2.18-1.module_el8.10.0+3994+c2cc5395 | 6.2.18-1.module_el8.10.0+3994+c2cc5395 |
| AlmaLinux:8 | redis-doc | before 6.2.18-1.module_el8.10.0+3994+c2cc5395 | 6.2.18-1.module_el8.10.0+3994+c2cc5395 |
| AlmaLinux:9 | redis | before 7.2.8-1.module_el9.6.0+168+b8d8e900 | 7.2.8-1.module_el9.6.0+168+b8d8e900 |
| AlmaLinux:9 | redis | before 6.2.18-1.el9_6 | 6.2.18-1.el9_6 |
| AlmaLinux:9 | redis-devel | before 6.2.18-1.el9_6 | 6.2.18-1.el9_6 |
| AlmaLinux:9 | redis-devel | before 7.2.8-1.module_el9.6.0+168+b8d8e900 | 7.2.8-1.module_el9.6.0+168+b8d8e900 |
| AlmaLinux:9 | redis-doc | before 6.2.18-1.el9_6 | 6.2.18-1.el9_6 |
| AlmaLinux:9 | redis-doc | before 7.2.8-1.module_el9.6.0+168+b8d8e900 | 7.2.8-1.module_el9.6.0+168+b8d8e900 |
| Alpine:v3.15 | redis | from 2.6.0 · before 6.2.18-r0 | 6.2.18-r0 |
| Alpine:v3.18 | redis | from 2.6.0 · before 7.0.15-r3 | 7.0.15-r3 |
| Alpine:v3.19 | redis | from 2.6.0 · before 7.2.8-r0 | 7.2.8-r0 |
| Alpine:v3.20 | redict | before 7.3.3-r0 | 7.3.3-r0 |
| Alpine:v3.20 | valkey | from 7.2.4 · before 7.2.9-r0 | 7.2.9-r0 |
| Alpine:v3.22 | redis | from 2.6.0 · before 8.0.0-r0 | 8.0.0-r0 |
| Debian:11 | redis | before 5:6.0.16-1+deb11u6 | 5:6.0.16-1+deb11u6 |
| Debian:12 | redis | before 5:7.0.15-1~deb12u4 | 5:7.0.15-1~deb12u4 |
| Debian:13 | redis | before 5:7.0.15-3.1 | 5:7.0.15-3.1 |
| Debian:13 | valkey | before 8.1.1+dfsg1-1 | 8.1.1+dfsg1-1 |
| Debian:14 | redict | before 7.3.5+ds-1 | 7.3.5+ds-1 |
| openSUSE:Leap 15.6 | redis | before 7.2.4-150600.3.9.1 | 7.2.4-150600.3.9.1 |
| openSUSE:Leap 15.6 | redis7 | before 7.0.8-150600.8.9.1 | 7.0.8-150600.8.9.1 |
+72
Same product
redis: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-0543It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific) Lua sandbox escapeKEV100Now
- CVE-2025-49844Redis Lua Use-After-Free may lead to remote code execution64This week
- CVE-2023-36824Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis58Plan
Published before and after this one in the same product
- ← EarlierCVE-2024-46981Jan 6, 2025 · Redis' Lua library commands may lead to remote code execution41Plan
- ← EarlierCVE-2024-51741Jan 6, 2025 · Redis allows denial-of-service due to malformed ACL selectors17Monitor
- Later →CVE-2025-27151May 29, 2025 · redis-check-aof may lead to stack overflow and potential RCE39Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| redis redis | 7.4.3 · description | Vendor (CNA) |
| azl3 valkey 8.0.2-1 on Azure Linux 3.0 | 8.0.3-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 valkey 8.0.3-1 on Azure Linux 3.0 | 8.0.3-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:redis | 7.2.8-1.module_el9.6.0+168+b8d8e900 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:redis-devel | 7.2.8-1.module_el9.6.0+168+b8d8e900 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:redis-doc | 7.2.8-1.module_el9.6.0+168+b8d8e900 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:valkey | 8.0.3-1.el10_0 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:valkey-devel | 8.0.3-1.el10_0 · AlmaLinux:10 | Package registry (OSV) |
| alpine:redict | 7.3.3-r0 · Alpine:v3.20 | Package registry (OSV) |
| alpine:redis | 6.2.18-r0 · Alpine:v3.15 | Package registry (OSV) |
| alpine:valkey | 7.2.9-r0 · Alpine:v3.20 | Package registry (OSV) |
| debian:redict | 7.3.5+ds-1 · Debian:14 | Package registry (OSV) |
| debian:redis | 5:7.0.15-1~deb12u4 · Debian:12 | Package registry (OSV) |
| debian:valkey | 8.1.1+dfsg1-1 · Debian:13 | Package registry (OSV) |
| opensuse:redis | 7.2.4-150600.3.9.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:redis7 | 7.0.8-150600.8.9.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:valkey | 8.0.2-150600.13.6.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| red hat:discovery-cli | 0:1.14.0-1.el8 · Red Hat:discovery:1.0::el8 | Package registry (OSV) |
| red hat:discovery-installer | 0:1.14.1-1.el8 · Red Hat:discovery:1.0::el8 | Package registry (OSV) |
| red hat:redis | 0:6.0.9-5.module+el8.4.0+23067+0d16e377.2 · Red Hat:rhel_aus:8.4::appstream | Package registry (OSV) |
| red hat:redis-debuginfo | 0:6.0.9-5.module+el8.4.0+23067+0d16e377.2 · Red Hat:rhel_aus:8.4::appstream | Package registry (OSV) |
| red hat:redis-debugsource | 0:6.0.9-5.module+el8.4.0+23067+0d16e377.2 · Red Hat:rhel_aus:8.4::appstream | Package registry (OSV) |
| red hat:redis-devel | 0:6.0.9-5.module+el8.4.0+23067+0d16e377.2 · Red Hat:rhel_aus:8.4::appstream | Package registry (OSV) |
| red hat:redis-doc | 0:6.0.9-5.module+el8.4.0+23067+0d16e377.2 · Red Hat:rhel_aus:8.4::appstream | Package registry (OSV) |
| red hat:valkey | 0:8.0.3-1.el10_0 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| red hat:valkey-debuginfo | 0:8.0.3-1.el10_0 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| red hat:valkey-debugsource | 0:8.0.3-1.el10_0 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| red hat:valkey-devel | 0:8.0.3-1.el10_0 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| rocky linux:redis | 0:7.2.8-1.module+el9.6.0+32036+eb8f79e6 · Rocky Linux:9 | Package registry (OSV) |
| rocky linux:valkey | 0:8.0.3-1.el10_0 · Rocky Linux:10 | Package registry (OSV) |
+6
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2025-4836775 days apartRedis DoS Vulnerability due to bad connection error handling30Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-770 · Allocation of Resources Without Limits or ThrottlingCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- FloodingCAPEC-125likelihood: High · Medium
- Excessive AllocationCAPEC-130likelihood: Medium · Medium
- XML Ping of the DeathCAPEC-147likelihood: Low · Medium
- Exponential Data ExpansionCAPEC-197likelihood: High · Medium
- Serialized Data Parameter BlowupCAPEC-229likelihood: High · High
- Serialized Data with Nested PayloadsCAPEC-230likelihood: Medium · High
- Oversized Serialized Data PayloadsCAPEC-231likelihood: Medium · High
- HTTP DoSCAPEC-469Low
ATT&CK techniques
- Network Denial of Service:Direct Network FloodT1498.001
- Network Denial of Service:Reflection AmplificationT1498.002
- Endpoint Denial of ServiceT1499
- Endpoint Denial of Service: OS Exhaustion FloodT1499.001
- Endpoint Denial of Service:Service Exhaustion FloodT1499.002
- Endpoint Denial of Service:Application Exhaustion FloodT1499.003
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- github.com/redis/redis/security/advisories/GHSA-r67f-p999-2gff
- github.com/valkey-io/valkey/releases/tag/8.1.1
- lists.debian.org/debian-lts-announce/2025/05/msg00014.html
- www.vicarius.io/vsociety/posts/cve-2025-21605-detection-script-memory-exhaustion-vulnerability-in-redis-database
- www.vicarius.io/vsociety/posts/cve-2025-21605-mitigation-script-memory-exhaustion-vulnerability-in-redis-database
Vendor advisories and official records. Exploit/PoC links are deliberately left out.