CVE-2022-35951
CRITICAL9.8EPSS 36.9%Redis subject to Integer Overflow leading to Remote Code Execution via Heap Overflow
Published: 9/23/2022Modified: 4/28/2026
Description
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.
Affected packages (5)
- Alpine/redisfrom 0, < 7.0.5-r0
- Bitnami/keydb>= 7.0.0, < 7.0.5
- Bitnami/redis>= 7.0.0, < 7.0.5
- Bitnami/valkey>= 7.0.0, < 7.0.5
- Debian/redisfrom 0, < 5:7.0.5-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (7)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2022-35951
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-35951
- WEBhttps://github.com/redis/redis/security/advisories/GHSA-5gc4-76rx-22c9
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A7INCOOFPPEAKNDBZU3TIZJPYXBULI2C/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-35951
- WEBhttps://security.gentoo.org/glsa/202209-17
- WEBhttps://security.netapp.com/advisory/ntap-20221020-0005/