CVEfocus › CVE database › CVE-2024-25176

CVE-2024-25176

CVSS 9.8 CriticalEPSS 1.1% (higher than 66% of CVEs)Published 2025-07-07Updated 2025-11-03Assigner: mitre

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.

CWE-121

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
3Fix pending
1Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10luajitFix pendingUBUNTU-CVE-2024-25176
Ubuntu 26.04luajitUnder investigationUBUNTU-CVE-2024-25176
Ubuntu 25.10luajitWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-25176
Ubuntu 24.04luajitFixed2.1.0+git20231223.c525bcb+dfsg-1ubuntu0.1UBUNTU-CVE-2024-25176
Ubuntu 22.04luajitFixed2.1.0~beta3+dfsg-6ubuntu0.1UBUNTU-CVE-2024-25176
Ubuntu 20.04luajitFix pending2.1.0~beta3+dfsg-5.1ubuntu0.20.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-25176
Ubuntu 18.04luajitFix pending2.1.0~beta3+dfsg-5.1ubuntu0.18.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-25176
Debian 14luajitFixed2.1.0+openresty20240314-1DEBIAN-CVE-2024-25176
Debian 13luajitFixed2.1.0+openresty20240314-1DEBIAN-CVE-2024-25176
Debian 12luajitFixed2.1.0~beta3+git20220320+dfsg-4.1+deb12u1DEBIAN-CVE-2024-25176
Alpine Linux 3.24luajitFixed2.1_p20240815-r1ALPINE-CVE-2024-25176
Alpine Linux 3.23luajitFixed2.1_p20240815-r1ALPINE-CVE-2024-25176
Alpine Linux 3.22luajitFixed2.1_p20240815-r1ALPINE-CVE-2024-25176
Alpine Linux 3.21luajitFixed2.1_p20240815-r1ALPINE-CVE-2024-25176
Alpine Linux 3.20luajitFixed2.1_p20240815-r1ALPINE-CVE-2024-25176
Alpine Linux 3.19luajitFixed2.1_p20240815-r1ALPINE-CVE-2024-25176

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.