Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 4.5%top 9.1%

Valkey: Lua library commands may lead to stack overflow and RCE in Redis (CVE-2024-31449)

0
High
Published: 10/09/2024 (10/09/2024, 16:44:28 UTC)
Source: GCVE Database
Product: valkey

Description

CVE-2024-31449 is a high-severity vulnerability in Redis affecting all versions with Lua scripting enabled. An authenticated user can exploit a specially crafted Lua script to trigger a stack buffer overflow in the bit library, potentially leading to remote code execution. The issue has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. No workarounds are available, so upgrading to a fixed version is the recommended mitigation.

Affected software

Bitnamimore threats →ghsa
valkey
pkg:bitnami/valkey
Affected versions
<7.2.7>=8.0.0 <8.0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 13:20:12 UTC

Technical Analysis

Redis, an open source in-memory database, contains a stack buffer overflow vulnerability in its Lua bit library commands. This flaw allows an authenticated user to execute a crafted Lua script that triggers the overflow, which may lead to remote code execution. The vulnerability affects all Redis versions with Lua scripting prior to 6.2.16, 7.2.6, and 7.4.1. The fix is available in these versions, and users should upgrade accordingly. No known workarounds exist.

Potential Impact

Successful exploitation can lead to remote code execution by an authenticated user, which compromises the confidentiality, integrity, and availability of the Redis server. This can allow attackers to execute arbitrary code on the host system running Redis.

Mitigation Recommendations

A patch is available and users should upgrade to Redis versions 6.2.16, 7.2.6, or 7.4.1 or later. There are no known workarounds, so applying the official fix is the only effective mitigation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BIT-valkey-2024-31449
Osv Schema Version
1.5.0
Aliases
["CVE-2024-31449"]
Ecosystems
["Bitnami"]
Database Specific Severity
High
Cvss Version
null

Threat ID: 6aa005b3acd9273b49ab58b5

Added to database: 09/08/2026, 12:55:15 UTC

Last enriched: 09/08/2026, 13:20:12 UTC

Last updated: 09/08/2026, 22:52:02 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses