CVE-2022-35977

published 20 Jan 2023 · updated 3 Nov 2025

Integer overflow in certain command arguments can drive Redis to OOM panic

6.0MediumCVSS 5.5EPSS 14%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 14%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Redisredis<6.0.17, >=6.2 <6.2.9, >=7.0 <7.0.8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Redis, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-35977 severity on Zeptric[![CVE-2022-35977](https://zeptric.io/badge/cve/CVE-2022-35977.svg)](https://zeptric.io/cve/CVE-2022-35977)