Vulnerability Description
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.
CVSS Score
9.8
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Luajit | Luajit | <= 2.1.0 |
Related Weaknesses (CWE)
References
- https://gist.github.com/pwnhacker0x18/cd75d01fc7c9b6c85c183fbe5353d276Third Party Advisory
- https://github.com/LuaJIT/LuaJIT/commit/343ce0edaf3906a62022936175b2f5410024cbfcPatch
- https://github.com/LuaJIT/LuaJIT/issues/1149ExploitIssue Tracking
- https://github.com/openresty/luajit2/commit/343ce0edaf3906a62022936175b2f5410024
- https://lists.debian.org/debian-lts-announce/2025/08/msg00022.html
- https://github.com/LuaJIT/LuaJIT/issues/1149ExploitIssue Tracking
FAQ
What is CVE-2024-25176?
CVE-2024-25176 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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.
How severe is CVE-2024-25176?
CVE-2024-25176 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-25176?
Check the references section above for vendor advisories and patch information. Affected products include: Luajit Luajit.