# CVE-2022-35977: Integer overflow in certain command arguments can drive Redis to OOM panic

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-01-20 · Modified: 2025-11-03
- Aliases: ALPINE-CVE-2022-35977, SUSE-SU-2023:0274-1, UBUNTU-CVE-2022-35977, DEBIAN-CVE-2022-35977
- Record: https://cvemate.com/vulnerability/CVE-2022-35977 · JSON: https://cvemate.com/vulnerability/CVE-2022-35977/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 14.051%, percentile 96.662%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine redis (Alpine Linux): ≥ 6.0.0, \< 6.2.9-r0 \| ≥ 6.0.0, \< 7.0.8-r0 \| ≥ 6.2.0, \< 6.2.9-r0 \| ≥ 7.0.0, \< 7.0.8-r0
- debian redis (Debian): \< 5:7.0.8-1
- ubuntu redis (Ubuntu): \< 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
- redis 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
- suse redis&distro=SUSE Enterprise Storage 7 (SUSE Linux Enterprise): \< 6.0.14-150200.6.17.1
- suse redis&distro=SUSE Enterprise Storage 7.1 (SUSE Linux Enterprise): \< 6.0.14-150200.6.17.1
- suse redis&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS (SUSE Linux Enterprise): \< 6.0.14-150200.6.17.1
- suse redis&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS (SUSE Linux Enterprise): \< 6.0.14-150200.6.17.1
- suse redis&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS (SUSE Linux Enterprise): \< 6.0.14-150200.6.17.1
- suse redis&distro=SUSE Linux Enterprise Real Time 15 SP3 (SUSE Linux Enterprise): \< 6.0.14-150200.6.17.1
- suse redis&distro=SUSE Linux Enterprise Server 15 SP2-LTSS (SUSE Linux Enterprise): \< 6.0.14-150200.6.17.1
- suse redis&distro=SUSE Linux Enterprise Server 15 SP3-LTSS (SUSE Linux Enterprise): \< 6.0.14-150200.6.17.1
- suse redis&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP2 (SUSE Linux Enterprise): \< 6.0.14-150200.6.17.1
- suse redis&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP3 (SUSE Linux Enterprise): \< 6.0.14-150200.6.17.1
- suse redis&distro=SUSE Manager Proxy 4.2 (SUSE Linux Enterprise): \< 6.0.14-150200.6.17.1
- suse redis&distro=SUSE Manager Retail Branch Server 4.2 (SUSE Linux Enterprise): \< 6.0.14-150200.6.17.1
- suse redis&distro=SUSE Manager Server 4.2 (SUSE Linux Enterprise): \< 6.0.14-150200.6.17.1

## References

- <https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j>
- <https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7>
- <https://github.com/redis/redis/releases/tag/6.0.17>
- <https://github.com/redis/redis/releases/tag/6.2.9>
- <https://github.com/redis/redis/releases/tag/7.0.8>
- <https://lists.debian.org/debian-lts-announce/2024/11/msg00031.html>
- <https://security.alpinelinux.org/vuln/CVE-2022-35977>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20230274-1/>
- <https://bugzilla.suse.com/1207202>
- <https://www.suse.com/security/cve/CVE-2022-35977>
- <https://ubuntu.com/security/CVE-2022-35977>
- <https://ubuntu.com/security/notices/USN-6531-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-35977>
- <https://security-tracker.debian.org/tracker/CVE-2022-35977>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-35977>

---

Data as of 2026-12-05T05:18:55.912Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
