9.8

CVE-2024-25176: luajit Stack-based Buffer Overflow

Modified
AliasesALPINE-CVE-2024-25176UBUNTU-CVE-2024-25176DEBIAN-CVE-2024-25176
Published 07-07-2025Last modified 03-11-2025

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.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.60%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 5 · Related 4

Timeline

  1. 07-07-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Luajit

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

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
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

References

12 links
Show all 12 references