# CVE-2022-31144: Potential heap overflow in Redis

- 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-07-19 · Modified: 2025-04-23
- Aliases: ALPINE-CVE-2022-31144, UBUNTU-CVE-2022-31144, DEBIAN-CVE-2022-31144, openSUSE-SU-2024:12217-1
- Record: https://cvemate.com/vulnerability/CVE-2022-31144 · JSON: https://cvemate.com/vulnerability/CVE-2022-31144/json

## Description

```text
Redis is an in-memory database that persists on disk. A specially crafted `XAUTOCLAIM` command on a stream key in a specific state may result with heap overflow, and potentially remote code execution. This problem affects versions on the 7.x branch prior to 7.0.4. The patch is released in version 7.0.4.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.241%, percentile 88.697%, 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, \< 7.0.4-r0
- debian redis (Debian): \< 5:7.0.4-1
- ubuntu redis (Ubuntu): \< 5:7.0.12-1
- redis redis: ≥ 7.0.0, \< 7.0.4 \| ≥ 7.0, \< 7.0.4
- opensuse redis&distro=openSUSE Tumbleweed (openSUSE): \< 7.0.4-1.1

## References

- <https://github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh>
- <https://github.com/redis/redis/releases/tag/7.0.4>
- <https://security.netapp.com/advisory/ntap-20220909-0002/>
- <https://security.gentoo.org/glsa/202209-17>
- <https://security.alpinelinux.org/vuln/CVE-2022-31144>
- <https://ubuntu.com/security/CVE-2022-31144>
- <https://www.cve.org/CVERecord?id=CVE-2022-31144>
- <https://security-tracker.debian.org/tracker/CVE-2022-31144>
- <https://www.suse.com/security/cve/CVE-2022-31144>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31144>

---

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