CVE-2024-25178
Aliases:DEBIAN-CVE-2024-25178ALPINE-CVE-2024-25178CGA-mvrh-396q-v823CGA-rw99-qfm4-96hr
Advisory lineage Upstream: 0 Downstream: 8
Modified
Published: 07 Jul 2025, 00:00
Last modified:03 Nov 2025, 18:08
Vulnerability Summary
Overall Risk (default)
high
70/100 CVSS Score
9.1 CRITICAL
v3.1 (cve.org)
EPSS Score
0.56% LOW
1% probability +0.44%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
07 Jul 2025, 00:00
Published
Vulnerability first disclosed
03 Nov 2025, 18:08
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•CRITICAL•Score: 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS Trends
Current EPSS score: 0.56%• Percentile: 46%
Techniques & Countermeasures
- CWE-125•Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
Affected Systems
- alpine•luajit
< 2.1_p20240815-r1 | < 2.1_p20240815-r1 | < 2.1_p20240815-r1 | < 2.1_p20240815-r1 | < 2.1_p20240815-r1 | < 2.1_p20240815-r1
- chainguard•luajit-dev
< 0
- wolfi•luajit-dev
< 0
- debian•luajit
< 2.1.0~beta3+dfsg-5.3+deb11u1 | < 2.1.0~beta3+git20220320+dfsg-4.1+deb12u1 | < 2.1.0+openresty20240314-1 | < 2.1.0+openresty20240314-1
- luajit•luajit
≤ 2.1.0
References (9)
- https://github.com/LuaJIT/LuaJIT/commit/defe61a56751a0db5f00ff3ab7b8f45436ba74c8
- https://github.com/LuaJIT/LuaJIT/issues/1152
- https://gist.github.com/pwnhacker0x18/423b4292f301ab274b42d5ed6e0b87d8
- https://github.com/openresty/luajit2/commit/defe61a56751a0db5f00ff3ab7b8f45436ba74c8
- https://lists.debian.org/debian-lts-announce/2025/08/msg00022.html
- https://security-tracker.debian.org/tracker/CVE-2024-25178
- https://security.alpinelinux.org/vuln/CVE-2024-25178
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25178.json
- https://nvd.nist.gov/vuln/detail/CVE-2024-25178