CVE-2024-25176
Aliases:DEBIAN-CVE-2024-25176ALPINE-CVE-2024-25176CGA-4wrv-wqwc-84jrCGA-mf9p-rg89-889f
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.8 CRITICAL
v3.1 (cve.org)
EPSS Score
0.53% LOW
1% probability +0.40%
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-20240626 have a stack-buffer-overflow in lj_strfmt_wfnum in lj_strfmt_num.c.
CVSS Metrics
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.53%• Percentile: 43%
Techniques & Countermeasures
- CWE-121•Stack-based Buffer Overflow
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
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/343ce0edaf3906a62022936175b2f5410024cbfc
- https://github.com/LuaJIT/LuaJIT/issues/1149
- https://gist.github.com/pwnhacker0x18/cd75d01fc7c9b6c85c183fbe5353d276
- https://github.com/openresty/luajit2/commit/343ce0edaf3906a62022936175b2f5410024cbfc
- https://lists.debian.org/debian-lts-announce/2025/08/msg00022.html
- https://security-tracker.debian.org/tracker/CVE-2024-25176
- https://security.alpinelinux.org/vuln/CVE-2024-25176
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25176.json
- https://nvd.nist.gov/vuln/detail/CVE-2024-25176