# CVE-2022-35977: redis: Redis is an in-memory database that persists on disk

CVE-2022-35977 is fixed in 11 products on 1 platform, first by DEBIAN-CVE-2022-35977, released January 20, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-35977
- Priority: High
- CVSS: 7.0 (Medium)
- EPSS: 0.1405
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 20, 2023

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | redis Debian 11.6 (bullseye) | 5:6.0.16-1+deb11u4 | [DLA-3973-1](https://patchblox.com/security/data/fix/linux/dla-3973-1.md) | Nov 28, 2024 |
| Linux | redis Debian 12.15 (bookworm) | 5:7.0.8-1 | [DEBIAN-CVE-2022-35977](https://patchblox.com/security/data/fix/linux/debian-cve-2022-35977.md) | Jan 20, 2023 |
| Linux | redis Debian 13.5 (trixie) | 5:7.0.8-1 | [DEBIAN-CVE-2022-35977](https://patchblox.com/security/data/fix/linux/debian-cve-2022-35977.md) | Jan 20, 2023 |
| Linux | redis Debian 14 | 5:7.0.8-1 | [DEBIAN-CVE-2022-35977](https://patchblox.com/security/data/fix/linux/debian-cve-2022-35977.md) | Jan 20, 2023 |
| Linux | redis RHEL 8 | 0:6.2.17-1.module+el8.10.0+22680+748527fd | [RHSA-2025:0595](https://patchblox.com/security/data/fix/linux/rhsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis Ubuntu 18.04.6 LTS (bionic) | 5:4.0.9-1ubuntu0.2+esm4 | [redis 5:4.0.9-1ubuntu0.2+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-redis-5-4.0.9-1ubuntu0.2-esm4.md) | Oct 18, 2023 |
| Linux | redis Ubuntu 20.04 LTS (focal) | 5:5.0.7-2ubuntu0.1+esm2 | [redis 5:5.0.7-2ubuntu0.1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-redis-5-5.0.7-2ubuntu0.1-esm2.md) | Oct 18, 2023 |
| Linux | redis Ubuntu 22.04.1 LTS (jammy) | 5:6.0.16-1ubuntu1+esm1 | [redis 5:6.0.16-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-redis-5-6.0.16-1ubuntu1-esm1.md) | Oct 18, 2023 |
| Linux | redis almalinux 8 | 6.2.17-1.module_el8.10.0+3946+3de613d5 | [ALSA-2025:0595](https://patchblox.com/security/data/fix/linux/alsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis ol 8 | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | [ELSA-2025-0595](https://patchblox.com/security/data/fix/linux/elsa-2025-0595.md) | Jan 23, 2025 |
| Linux | redis rocky 8 | 0:6.2.17-1.module+el8.10.0+1923+5b85c6a7 | [RLSA-2025:0595](https://patchblox.com/security/data/fix/linux/rlsa-2025-0595.md) | Feb 13, 2025 |
| Linux | redis-devel RHEL 8 | 0:6.2.17-1.module+el8.10.0+22680+748527fd | [RHSA-2025:0595](https://patchblox.com/security/data/fix/linux/rhsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis-devel almalinux 8 | 6.2.17-1.module_el8.10.0+3946+3de613d5 | [ALSA-2025:0595](https://patchblox.com/security/data/fix/linux/alsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis-devel ol 8 | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | [ELSA-2025-0595](https://patchblox.com/security/data/fix/linux/elsa-2025-0595.md) | Jan 23, 2025 |
| Linux | redis-doc RHEL 8 | 0:6.2.17-1.module+el8.10.0+22680+748527fd | [RHSA-2025:0595](https://patchblox.com/security/data/fix/linux/rhsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis-doc almalinux 8 | 6.2.17-1.module_el8.10.0+3946+3de613d5 | [ALSA-2025:0595](https://patchblox.com/security/data/fix/linux/alsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis-doc ol 8 | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | [ELSA-2025-0595](https://patchblox.com/security/data/fix/linux/elsa-2025-0595.md) | Jan 23, 2025 |
| Linux | redis-sentinel Ubuntu 18.04.6 LTS (bionic) | 5:4.0.9-1ubuntu0.2+esm4 | [redis-sentinel 5:4.0.9-1ubuntu0.2+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-redis-sentinel-5-4.0.9-1ubuntu0.2-esm4.md) | Oct 18, 2023 |
| Linux | redis-sentinel Ubuntu 20.04 LTS (focal) | 5:5.0.7-2ubuntu0.1+esm2 | [redis-sentinel 5:5.0.7-2ubuntu0.1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-redis-sentinel-5-5.0.7-2ubuntu0.1-esm2.md) | Oct 18, 2023 |
| Linux | redis-sentinel Ubuntu 22.04.1 LTS (jammy) | 5:6.0.16-1ubuntu1+esm1 | [redis-sentinel 5:6.0.16-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-redis-sentinel-5-6.0.16-1ubuntu1-esm1.md) | Oct 18, 2023 |
| Linux | redis-server Ubuntu 18.04.6 LTS (bionic) | 5:4.0.9-1ubuntu0.2+esm4 | [redis-server 5:4.0.9-1ubuntu0.2+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-redis-server-5-4.0.9-1ubuntu0.2-esm4.md) | Oct 18, 2023 |
| Linux | redis-server Ubuntu 20.04 LTS (focal) | 5:5.0.7-2ubuntu0.1+esm2 | [redis-server 5:5.0.7-2ubuntu0.1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-redis-server-5-5.0.7-2ubuntu0.1-esm2.md) | Oct 18, 2023 |
| Linux | redis-server Ubuntu 22.04.1 LTS (jammy) | 5:6.0.16-1ubuntu1+esm1 | [redis-server 5:6.0.16-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-redis-server-5-6.0.16-1ubuntu1-esm1.md) | Oct 18, 2023 |
| Linux | redis-tools Ubuntu 18.04.6 LTS (bionic) | 5:4.0.9-1ubuntu0.2+esm4 | [redis-tools 5:4.0.9-1ubuntu0.2+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-redis-tools-5-4.0.9-1ubuntu0.2-esm4.md) | Oct 18, 2023 |
| Linux | redis-tools Ubuntu 20.04 LTS (focal) | 5:5.0.7-2ubuntu0.1+esm2 | [redis-tools 5:5.0.7-2ubuntu0.1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-redis-tools-5-5.0.7-2ubuntu0.1-esm2.md) | Oct 18, 2023 |
| Linux | redis-tools Ubuntu 22.04.1 LTS (jammy) | 5:6.0.16-1ubuntu1+esm1 | [redis-tools 5:6.0.16-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-redis-tools-5-6.0.16-1ubuntu1-esm1.md) | Oct 18, 2023 |
| Linux | redis6 amzn 2023 | 6.2.11-1.amzn2023.0.1 | [ALAS2023-2023-154](https://patchblox.com/security/data/fix/linux/alas2023-2023-154.md) | Mar 30, 2023 |
| Linux | redis6-debuginfo amzn 2023 | 6.2.11-1.amzn2023.0.1 | [ALAS2023-2023-154](https://patchblox.com/security/data/fix/linux/alas2023-2023-154.md) | Mar 30, 2023 |
| Linux | redis6-debugsource amzn 2023 | 6.2.11-1.amzn2023.0.1 | [ALAS2023-2023-154](https://patchblox.com/security/data/fix/linux/alas2023-2023-154.md) | Mar 30, 2023 |
| Linux | redis6-devel amzn 2023 | 6.2.11-1.amzn2023.0.1 | [ALAS2023-2023-154](https://patchblox.com/security/data/fix/linux/alas2023-2023-154.md) | Mar 30, 2023 |
| Linux | redis6-doc amzn 2023 | 6.2.11-1.amzn2023.0.1 | [ALAS2023-2023-154](https://patchblox.com/security/data/fix/linux/alas2023-2023-154.md) | Mar 30, 2023 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
