Buffer overflow in Luajit
CVE-2024-25176
LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240626 have a stack-buffer-overflow in lj_strfmt_wfnum in lj_strfmt_num.c.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 49.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/LuaJIT/LuaJIT/commit/343ce0edaf3906a62022936175b2f5410024cbfc (Patch)
- github.com/LuaJIT/LuaJIT/issues/1149 (Exploit, Issue Tracking)
- gist.github.com/pwnhacker0x18/cd75d01fc7c9b6c85c183fbe5353d276 (Third Party Advisory)
- github.com/openresty/luajit2/commit/343ce0edaf3906a62022936175b2f5410024cbfc
- lists.debian.org/debian-lts-announce/2025/08/msg00022.html