# CVE-2022-35951: Redis subject to Integer Overflow leading to Remote Code Execution via Heap Overflow

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-09-23 · Modified: 2025-04-23
- Aliases: ALPINE-CVE-2022-35951, UBUNTU-CVE-2022-35951, DEBIAN-CVE-2022-35951, openSUSE-SU-2024:12361-1
- Record: https://cvemate.com/vulnerability/CVE-2022-35951 · JSON: https://cvemate.com/vulnerability/CVE-2022-35951/json

## Description

```text
Redis is an in-memory database that persists on disk. Versions 7.0.0 and above, prior to 7.0.5 are vulnerable to an Integer Overflow. Executing an `XAUTOCLAIM` command on a stream key in a specific state, with a specially crafted `COUNT` argument may cause an integer overflow, a subsequent heap overflow, and potentially lead to remote code execution. This has been patched in Redis version 7.0.5. No known workarounds exist.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.99%, percentile 90.818%, 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): ≥ 7.0.0, \< 7.0.5-r0
- debian redis (Debian): \< 5:7.0.5-1
- ubuntu redis (Ubuntu): \< 5:7.0.12-1
- fedoraproject fedora: 37
- redis redis: ≥ 7.0.0, \< 7.0.5
- opensuse redis&distro=openSUSE Tumbleweed (openSUSE): \< 7.0.5-1.1

## References

- <https://github.com/redis/redis/security/advisories/GHSA-5gc4-76rx-22c9>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A7INCOOFPPEAKNDBZU3TIZJPYXBULI2C/>
- <https://security.gentoo.org/glsa/202209-17>
- <https://security.netapp.com/advisory/ntap-20221020-0005/>
- <https://security.alpinelinux.org/vuln/CVE-2022-35951>
- <https://ubuntu.com/security/CVE-2022-35951>
- <https://github.com/redis/redis/commit/fa6815e14ea5adff93c5cd7be513c02a7c6e3f2a>
- <https://www.cve.org/CVERecord?id=CVE-2022-35951>
- <https://security-tracker.debian.org/tracker/CVE-2022-35951>
- <https://www.suse.com/security/cve/CVE-2022-35951>

---

Data as of 2026-12-05T11:00:30.581Z. 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
