CVE-2022-35977: redis Integer Overflow or Wraparound
Vulnerability summary
CVE-2022-35977 is a medium (CVSS 5.5) Integer Overflow or Wraparound vulnerability in redis. EPSS estimates a 13.45% chance of exploitation in the next 30 days, higher than 96.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 5 · Related 3Timeline
- 20-01-2023PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted `SETRANGE` and `SORT(_RO)` commands can trigger an integer overflow, resulting with Redis attempting to allocate impossible amounts of memory and abort with an out-of-memory (OOM) panic. The problem is fixed in Redis versions 7.0.8, 6.2.9 and 6.0.17. Users are advised to upgrade. There are no known workarounds for this vulnerability.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
13.45%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
0.00 pp
From 13.45% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse13 products
- redis&distro=SUSE Enterprise Storage 7< 6.0.14-150200.6.17.1
- redis&distro=SUSE Enterprise Storage 7.1< 6.0.14-150200.6.17.1
- redis&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS< 6.0.14-150200.6.17.1
- redis&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS< 6.0.14-150200.6.17.1
- redis&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 6.0.14-150200.6.17.1
Alpine1 product
- redis≥ 6.0.0, < 6.2.9-r0 | ≥ 6.0.0, < 7.0.8-r0
Debian1 product
- redis< 5:7.0.8-1
Redis1 product
- redis≥ 7.0, < 7.0.8 | ≥ 6.2, < 6.2.9 | < 6.0.17 | ≥ 6.0.0, < 6.0.17 | ≥ 6.2.0, < 6.2.9 | ≥ 7.0.0, < 7.0.8
Ubuntu1 product
- redis< 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
5 vendors · 17 products
References
15 links- github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8jX Refsource CONFIRMThird Party Advisory
- github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7X Refsource MISCPatchThird Party Advisory