CVE-2024-31449 is a stack-based buffer overflow in the Lua bit library used by Redis. The flaw affects the bit.tohex() function, which does not safely handle INT32_MIN before negating a value. A specially crafted Lua script can trigger signed integer overflow followed by a stack buffer overflow. The issue affects Redis versions with Lua scripting enabled.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).
This repository provides a proof-of-concept (PoC) exploit for CVE-2024-31449, a stack buffer overflow vulnerability in the Redis Lua engine's bit.tohex function. The repository contains four files: a Dockerfile and docker-compose.yml for setting up a vulnerable Redis environment, a PoC.py script that connects to the Redis server and sends a crafted EVAL command to trigger the vulnerability, and a README.md with detailed technical explanation and crash logs. The exploit demonstrates a Denial of Service (DoS) by crashing the Redis server when the payload is executed. The main attack vector is network-based, targeting Redis servers accessible on TCP port 6379. The PoC does not provide remote code execution but shows that a crash is possible, and hints that further exploitation (such as info leak or RCE) may be possible with additional research.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Redis flaw where Lua library commands may cause stack overflow and remote code execution.
Unknown
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.