CVE-2024-31449

Lua library commands may lead to stack overflow and RCE in Redis

HIGH
8.8
CVSS Score
Published: October 7, 2024 at 07:51 PM UTC
Updated: June 17, 2026 at 07:28 AM UTC
1 product affected across 1 vendorRedis

Using redis by redis?

Get instant alerts when new vulnerabilities affect redis - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 4%
SSVC
PoC

Description

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. 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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.2.16v < 7.2.6v < 7.4.12.6 ≤ v < 6.2.162.8.18 ≤ v < 6.2.167.0.0 ≤ v < 7.2.67.2.0 ≤ v < 7.2.67.3.0 ≤ v < 7.4.12.67.0.07.3.07.4.07.4.0 rc17.4.0 rc2
Affected range stops below 6.2.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.2.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.4.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-20CWE-121

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card