CVE-2024-25176: luajit Stack-based Buffer Overflow
Vulnerability summary
CVE-2024-25176 is a critical (CVSS 9.8) Stack-based Buffer Overflow vulnerability in luajit. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 48.7% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 4Timeline
- 07-07-2025PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability 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
7 scores · 7 sources · 1 version- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.60%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.56% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundLuajit
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- luajit< 2.1_p20240815-r1
Chainguard1 product
- luajit-devAll versions (No fix recorded)
Debian1 product
- luajit< 2.1.0~beta3+git20220320+dfsg-4.1+deb12u1 | < 2.1.0+openresty20240314-1
Luajit1 product
- luajit≤ 2.1.0
Ubuntu1 product
- luajit< 2.1.0~beta3+dfsg-5.1ubuntu0.18.04.1~esm1 | < 2.1.0~beta3+dfsg-5.1ubuntu0.20.04.1~esm1 | < 2.1.0~beta3+dfsg-6ubuntu0.1 | < 2.1.0+git20231223.c525bcb+dfsg-1ubuntu0.1 | All versions (No fix recorded)
Wolfi1 product
- luajit-devAll versions (No fix recorded)
6 vendors · 6 products