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

- Severity: High 7.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.24%, higher than 88% of CVEs (2026-12-01)
- Published: 2022-07-19T20:15:13.000Z
- Modified: 2026-09-08T08:48:18.926Z
- Also known as: BIT-KEYDB-2022-31144, BIT-REDIS-2022-31144, BIT-VALKEY-2022-31144, GHSA-96f7-42fg-2jrh
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- redis redis: >= 7.0.0, < 7.0.4; from 7.0 before 7.0.4
- keydb (Bitnami): from 7.0.0 before 7.0.4
- redis (Bitnami): from 7.0.0 before 7.0.4
- valkey (Bitnami): from 7.0.0 before 7.0.4

## Every score

- GitHub_M: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh> (advisory, third-party-advisory, web)
- <https://github.com/redis/redis/releases/tag/7.0.4> (advisory, release-notes, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220909-0002/> (advisory, third-party-advisory, web)
- <https://security.gentoo.org/glsa/202209-17> (advisory, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31144> (web)

## Sources

- CVE List: [CVE-2022-31144](https://www.cve.org/CVERecord?id=CVE-2022-31144), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-31144](https://nvd.nist.gov/vuln/detail/CVE-2022-31144), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-KEYDB-2022-31144](https://osv.dev/vulnerability/BIT-KEYDB-2022-31144), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-REDIS-2022-31144](https://osv.dev/vulnerability/BIT-REDIS-2022-31144), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-VALKEY-2022-31144](https://osv.dev/vulnerability/BIT-VALKEY-2022-31144), Apache-2.0, modified 2025-10-14

---

Page: https://cve.day/CVE-2022-31144 · Whole record: https://cve.day/CVE-2022-31144.json · Rebuilt by cve.day 2026-11-25T22:58:13.055Z
