CVE-2024-25176
Luajit vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Luajit. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Luajit runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/LuaJIT/LuaJIT/commit/343ce0edaf3906a62022936175b2f5410024cbfc · Patch
- gist.github.com/pwnhacker0x18/cd75d01fc7c9b6c85c183fbe5353d276 · Third Party Advisory
- github.com/LuaJIT/LuaJIT/issues/1149 · Exploit
- github.com/openresty/luajit2/commit/343ce0edaf3906a62022936175b2f5410024cbfc
- lists.debian.org/debian-lts-announce/2025/08/msg00022.html
- nvd.nist.gov/vuln/detail/CVE-2024-25176
- cve.org/CVERecord?id=CVE-2024-25176
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.