CVE-2022-31144
JSON

7.0high

Potential heap overflow in Redis

Severity
7.0high CVSS:3.1 by GitHub_M
Exploit likelihood
3.24% (higher than 88% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-KEYDB-2022-31144BIT-REDIS-2022-31144BIT-VALKEY-2022-31144GHSA-96f7-42fg-2jrh

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.

Affected

Product or packageVersionsReported by
redis redis>= 7.0.0, < 7.0.4, from 7.0 before 7.0.4CVE List, NVD
keydb (Bitnami)from 7.0.0 before 7.0.4Bitnami Vulnerability Database
redis (Bitnami)from 7.0.0 before 7.0.4Bitnami Vulnerability Database
valkey (Bitnami)from 7.0.0 before 7.0.4Bitnami Vulnerability Database

All scores

GitHub_M7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-122CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Redis es una base de datos en memoria que persiste en el disco. Un comando "XAUTOCLAIM" especialmente diseñado en una clave de flujo en un estado específico puede resultar en un desbordamiento de pila, y potencialmente a una ejecución de código remoto. Este problema afecta a versiones de la rama 7.x anteriores a 7.0.4. El parche es publicado en versión 7.0.4.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-31144 changed 2025-04-23CVE Terms of Use
NVDCVE-2022-31144 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-KEYDB-2022-31144 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-REDIS-2022-31144 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-VALKEY-2022-31144 changed 2025-10-14Apache-2.0