# CVE-2022-36021: Redis string pattern matching can be abused to achieve Denial of Service

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-03-01 · Modified: 2025-03-07
- Aliases: UBUNTU-CVE-2022-36021, DEBIAN-CVE-2022-36021, DLA-3361-1
- Record: https://cvemate.com/vulnerability/CVE-2022-36021 · JSON: https://cvemate.com/vulnerability/CVE-2022-36021/json

## Description

```text
Redis is an in-memory database that persists on disk. Authenticated users can use string matching commands (like `SCAN` or `KEYS`) with a specially crafted pattern to trigger a denial-of-service attack on Redis, causing it to hang and consume 100% CPU time. The problem is fixed in Redis versions 6.0.18, 6.2.11, 7.0.9.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 59.769%, percentile 99.15%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian redis (Debian): \< 5:5.0.14-1+deb10u3 \| \< 5:7.0.9-1
- ubuntu redis (Ubuntu): \< 2:2.8.4-2ubuntu0.2+esm3 \| \< 2:3.0.6-1ubuntu0.4+esm2 \| \< 5:4.0.9-1ubuntu0.2+esm4 \| \< 5:5.0.7-2ubuntu0.1+esm2 \| \< 5:6.0.16-1ubuntu1+esm1
- redis redis: \< 6.0.18 \| ≥ 6.2.0, \< 6.2.11 \| ≥ 7.0.0, \< 7.0.9

## References

- <https://github.com/redis/redis/security/advisories/GHSA-jr7j-rfj5-8xqv>
- <https://github.com/redis/redis/commit/dcbfcb916ca1a269b3feef86ee86835294758f84>
- <https://ubuntu.com/security/CVE-2022-36021>
- <https://ubuntu.com/security/notices/USN-6531-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-36021>
- <https://security-tracker.debian.org/tracker/CVE-2022-36021>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-36021>

---

Data as of 2026-12-05T05:18:21.741Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
