CVE-2024-31228: Redis

Medium severity, CVSS 6.5. EPSS: 1% chance of exploitation in the next 30 days.

Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially crafted, long string match patterns on supported commands such as `KEYS`, `SCAN`, `PSUBSCRIBE`, `FUNCTION LIST`, `COMMAND LIST` and ACL definitions. Matching of extremely long patterns may result in unbounded recursion, leading to stack overflow and process crash. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

  • Redis Redis: from 2.2.5, before 6.2.16 (fixed in 6.2.16); from 7.2.0, before 7.2.6 (fixed in 7.2.6); version 7.4.0 only

Published 2024-10-07. Last modified 2026-06-17.