All reports
Medium

redis: heap overflow via XAUTOCLAIM command

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-31144

Probability of exploitation in the next 30 days: 3.24%

FIRST EPSS · 2026-11-21

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.

A heap-based buffer overflow flaw was found in Redis within the XAUTOCLAIM command implementation. This flaw allows an attacker to craft the XAUTOCLAIM command with malicious data on a stream key in a specific state that triggers a heap-based buffer overflow, possibly enabling remote code execution.