# CVE-2021-32675: DoS vulnerability in Redis

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 16.07% (percentile 98, 2026-11-26)
- **CWE:** CWE-770
- **Published:** 2021-10-04T17:50:11.000Z
- **Modified:** 2026-06-17T03:53:23.953Z

## Who should check

- Anyone running redis \< 5.0.14; \>= 6.0.0, \< 6.0.16; \>= 6.2.0, \< 6.2.6

## Description

Redis is an open source, in-memory database that persists on disk. When parsing an incoming Redis Standard Protocol (RESP) request, Redis allocates memory according to user-specified values which determine the number of elements (in the multi-bulk header) and size of each element (in the bulk header). An attacker delivering specially crafted requests over multiple connections can cause the server to allocate significant amount of memory. Because the same parsing mechanism is used to handle authentication requests, this vulnerability can also be exploited by unauthenticated users. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. 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: 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

- redis: \< 5.0.14; \>= 6.0.0, \< 6.0.16; \>= 6.2.0, \< 6.2.6 (cvelist)

## Mitigation

- Upgrade redis to 6.2.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-32675. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-32675.md
Affected: redis < 5.0.14; >= 6.0.0, < 6.0.16; >= 6.2.0, < 6.2.6
Fixed in: redis 5.0.14, redis 6.0.16, redis 6.2.6

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

## FAQ

### Is CVE-2021-32675 being exploited?

There is no confirmed exploitation: CVE-2021-32675 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 16.07% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-32675?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2021-32675?

redis \< 5.0.14; \>= 6.0.0, \< 6.0.16; \>= 6.2.0, \< 6.2.6.

### Is there a fix for CVE-2021-32675?

Yes. Fixed in redis 5.0.14, redis 6.0.16, redis 6.2.6. Upgrade redis to 6.2.6 or later.

### How do I check if I'm affected by CVE-2021-32675?

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.

## References

- vendor: <https://github.com/redis/redis/security/advisories/GHSA-f6pw-v9gw-v64p>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/>
- vendor: <https://www.debian.org/security/2021/dsa-5001>
- vendor: <https://security.gentoo.org/glsa/202209-17>
- patch: <https://github.com/redis/redis/commit/5674b0057ff2903d43eaff802017eddf37c360f8>
- patch: <https://www.oracle.com/security-alerts/cpuapr2022.html>
- other: <https://lists.apache.org/thread.html/ra603ff6e04549d7f290f61f9b11e2d2e4dba693b05ff053f4ec6bc47%40%3Cnotifications.geode.apache.org%3E>
- other: <https://security.netapp.com/advisory/ntap-20211104-0003/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-32675>

HTML: <https://flawdb.com/CVE-2021-32675> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-32675>
