What’s Vulnerable › Vulnerabilities
CVE-2024-25178
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-07-07 · updated 2026-06-17
- Weakness: CWE-125
Description
LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an out-of-bounds read in the stack-overflow handler in lj_state.c.
Affected products
- Luajit: through 2.1.0
References
- https://gist.github.com/pwnhacker0x18/423b4292f301ab274b42d5ed6e0b87d8
- https://github.com/LuaJIT/LuaJIT/commit/defe61a56751a0db5f00ff3ab7b8f45436ba74c8
- https://github.com/LuaJIT/LuaJIT/issues/1152
- https://github.com/openresty/luajit2/commit/defe61a56751a0db5f00ff3ab7b8f45436ba74c8
- https://lists.debian.org/debian-lts-announce/2025/08/msg00022.html
- https://github.com/LuaJIT/LuaJIT/issues/1152
Get alerted when CVE-2024-25178 or the next vulnerability affects your stack