Heap-based Buffer Overflow Affecting redis package, versions <5:7.0.4-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
3.19% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-REDIS-17978578
  • published15 Jul 2026
  • disclosed19 Jul 2022

Introduced: 19 Jul 2022

CVE-2022-31144  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Echo:latest redis to version 5:7.0.4-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream redis package and not the redis package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1