Vulnerability record · CVE-2022-35977 · published 20 January 2023
CVE-2022-35977: Redis integer overflow vulnerability
Redis · Redis
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.
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:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7 | PatchThird Party Advisory |
| https://github.com/redis/redis/releases/tag/6.0.17 | Release NotesThird Party Advisory |
| https://github.com/redis/redis/releases/tag/6.2.9 | Release NotesThird Party Advisory |
| https://github.com/redis/redis/releases/tag/7.0.8 | Release NotesThird Party Advisory |
| https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j | Third Party Advisory |
| https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7 | PatchThird Party Advisory |
| https://github.com/redis/redis/releases/tag/6.0.17 | Release NotesThird Party Advisory |
| https://github.com/redis/redis/releases/tag/6.2.9 | Release NotesThird Party Advisory |
| https://github.com/redis/redis/releases/tag/7.0.8 | Release NotesThird Party Advisory |
| https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2024/11/msg00031.html |
Track CVE-2022-35977 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-35977), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.