CVE-2022-35951 HIGH

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

Vendor Redis
Product redis
Weakness CWE-190
Published September 23, 2022
Last update April 23, 2025

CVSS base score

7.0/10
Attack vector Local
Attack complexity High
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

September 23, 2022 CVE published
April 23, 2025 Record updated