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

CVE-2022-35951 affects 4 listed versions of Redis in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
4%EPSS (next 30 days)
23 September 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Redis

4 of 183 listed versions are affected. Fixed in 7.0.5. The newest release, 8.12.0, is not affected.

7.0.4 7.0.3 7.0.2 7.0.1

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by GitHub on 23 September 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2022-35951 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.