Skip to content
Emerging threatsMedium

CVE-2022-36021Redis Integer Overflow

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.

Published Mar 1, 2023 · Updated Nov 3, 2026 · Also known as BIT-keydb-2022-36021, BIT-redis-2022-36021, BIT-valkey-2022-36021, DEBIAN-CVE-2022-36021, DLA-3361-1, GHSA-jr7j-rfj5-8xqv, MGASA-2023-0086, OESA-2023-1184, SUSE-SU-2023:0693-1, SUSE-SU-2023:0694-1, SUSE-SU-2023:2122-1, UBUNTU-CVE-2022-36021, openSUSE-SU-2024:12743-1

Key Facts

Patch immediately
  • CVE-2022-36021 is a medium-severity vulnerability (CVSS 5.5 v3.1) affecting Redis, keydb (bitnami), valkey (bitnami) and 8 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 60% probability of exploitation in the next 30 days.
  • Fixed versions are available, including keydb 6.0.18, keydb 6.2.11, keydb 7.0.9.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

5.5

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS (30-day exploit likelihood)

60%

Higher than 99.1% of all scored CVEs

Exploit maturity

None known

ATLAS score

26/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

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.

Affected Products

84 affected entries in total
ProductAffected versionsFixed in
RedisRedis< 6.0.186.0.18
keydbbitnamiSee advisory6.0.18
valkeybitnamiSee advisory6.0.18
redis6-develamazonSee advisory6.2.11-1.amzn2023.0.1
redis6amazonSee advisory6.2.11-1.amzn2023.0.1
6 more affected products in the full CVE brief

Patched Releases

keydb

6.0.18, 6.2.11, 7.0.9

Redis

2:2.8.4-2ubuntu0.2+esm3, 2:3.0.6-1ubuntu0.4+esm2, 4.0.11-17.oe1, 4.0.14-2.oe2203sp1, 5:4.0.9-1ubuntu0.2+esm4, 5:5.0.14-1+deb10u3, 5:5.0.7-2ubuntu0.1+esm2, 5:6.0.16-1+deb11u3, 5:6.0.16-1ubuntu1+esm1, 5:7.0.9-1, 6.0.14-150200.6.20.1, 6.0.18, 6.0.18-1.mga8, 6.2.11, 6.2.11-1, 6.2.17-1.0.1.module+el8.10.0+90491+f9002f77, 6.2.17-1.module_el8.10.0+3946+3de613d5, 6.2.17-1.module+el8.10.0+1923+5b85c6a7, 6.2.6-150400.3.16.1, 6.2.6-150400.3.19.1, 6.2.7-4.ph3, 7.0.0-7.ph4, 7.0.8-2.1, 7.0.9

redis-devel

6.2.17-1.0.1.module+el8.10.0+90491+f9002f77

redis-doc

6.2.17-1.0.1.module+el8.10.0+90491+f9002f77

redis:6

8100020250113083959.489197e6

redis6

6.2.11-1.amzn2023.0.1

redis6-devel

6.2.11-1.amzn2023.0.1

redis6-doc

6.2.11-1.amzn2023.0.1

redis7

7.0.8-150500.3.3.1

valkey

6.0.18, 6.2.11, 7.0.9

Timeline

  1. Publicly disclosed

    Mar 1, 2023

  2. Last updated

    Nov 3, 2026

Weakness Type

  • CWE-190 Integer Overflow or Wraparound
  • CWE-407 Inefficient Algorithmic Complexity

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-36021 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.