Integer overflow in Redis

CVE-2022-35951

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.

Vulnerability class: Integer Overflow

EPSS: 0.030 (86.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-35951?
CVE-2022-35951 is a high-severity vulnerability in Redis, classified under Integer Overflow or Wraparound. CVSS score: 7.0/10. Published 2022-09-23.
How severe is CVE-2022-35951?
High severity. CVSS v3 base score is 7.0 out of 10.
Is CVE-2022-35951 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.