CVE-2024-31449

HIGH LAB

Redis 2.8.18-6.2.15 - Authenticated Stack-based Buffer Overflow via Lua Bit Library

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2024-31449. PoCs published by qwqqaqqwq00, daeseong1209.

AI-analyzed exploit summary This repository contains generic Redis module documentation generation scripts and Lua/C source files from the Redis codebase, but no actual exploit code or technical analysis related to CVE-2024-31449. The files appear to be placeholders or copied code without any vulnerability-specific content.

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.

Exploits (2)

nomisec STUB
by qwqqaqqwq00 · poc
https://github.com/qwqqaqqwq00/opensource_defect_repare_cc

This repository contains generic Redis module documentation generation scripts and Lua/C source files from the Redis codebase, but no actual exploit code or technical analysis related to CVE-2024-31449. The files appear to be placeholders or copied code without any vulnerability-specific content.

Classification
Stub 95%
Attack Type
Other
Complexity
N/a
Reliability
N/a
Target: Redis (generic, no specific version)
No auth needed
mistral-large-3 · analyzed Jul 03, 2026 Full analysis →
nomisec WORKING POC
by daeseong1209 · poc
https://github.com/daeseong1209/CVE-2024-31449

This repository contains a functional PoC for CVE-2024-31449, a stack buffer overflow in Redis' Lua engine via the `bit.tohex` function. The exploit triggers a crash (DoS) by passing `INT32_MIN` as an argument, causing improper handling of negative values.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: Redis 7.0.4 (and other versions with Lua engine)
No auth needed
Prerequisites: Redis server with Lua scripting enabled
mistral-large-3 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 7.0
EPSS 0.0449
EPSS Percentile 90.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Lab Environment

COMMUNITY
Community Lab
docker pull redis@sha256:9bc34afe08ca30ef179404318cdebe6430ceda35a4ebe4b67d10789b17bdf7c4

Details

CWE
CWE-121 CWE-20
Status published
Products (2)
redis/redis 7.4.0 (3 CPE variants)
redis/redis 2.8.18 - 6.2.16
Published Oct 07, 2024
Tracked Since Feb 18, 2026