Unrated severityNVD Advisory· Published Jan 20, 2023· Updated Nov 3, 2025
Integer overflow in certain command arguments can drive Redis to OOM panic
CVE-2022-35977
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.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7mitrex_refsource_MISC
- github.com/redis/redis/releases/tag/6.0.17mitrex_refsource_MISC
- github.com/redis/redis/releases/tag/6.2.9mitrex_refsource_MISC
- github.com/redis/redis/releases/tag/7.0.8mitrex_refsource_MISC
- github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8jmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.