CVEfocus › CVE database › CVE-2024-25178

CVE-2024-25178

CVSS 9.1 CriticalEPSS 1.2% (higher than 67% of CVEs)Published 2025-07-07Updated 2025-11-03Assigner: mitre

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.

CWE-125

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
5Fix 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-25178
Ubuntu 26.04luajitUnder investigationUBUNTU-CVE-2024-25178
Ubuntu 25.10luajitWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-25178
Ubuntu 24.04luajitFixed2.1.0+git20231223.c525bcb+dfsg-1ubuntu0.1UBUNTU-CVE-2024-25178
Ubuntu 22.04luajitFixed2.1.0~beta3+dfsg-6ubuntu0.1UBUNTU-CVE-2024-25178
Ubuntu 20.04luajitFix pending2.1.0~beta3+dfsg-5.1ubuntu0.20.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-25178
Ubuntu 18.04luajitFix pending2.1.0~beta3+dfsg-5.1ubuntu0.18.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-25178
Ubuntu 16.04luajitFix pending2.0.4+dfsg-1+deb9u1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-25178
Ubuntu 14.04luajitFix pending2.0.2+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-25178
Debian 14luajitFixed2.1.0+openresty20240314-1DEBIAN-CVE-2024-25178
Debian 13luajitFixed2.1.0+openresty20240314-1DEBIAN-CVE-2024-25178
Debian 12luajitFixed2.1.0~beta3+git20220320+dfsg-4.1+deb12u1DEBIAN-CVE-2024-25178
Alpine Linux 3.24luajitFixed2.1_p20240815-r1ALPINE-CVE-2024-25178
Alpine Linux 3.23luajitFixed2.1_p20240815-r1ALPINE-CVE-2024-25178
Alpine Linux 3.22luajitFixed2.1_p20240815-r1ALPINE-CVE-2024-25178
Alpine Linux 3.21luajitFixed2.1_p20240815-r1ALPINE-CVE-2024-25178
Alpine Linux 3.20luajitFixed2.1_p20240815-r1ALPINE-CVE-2024-25178
Alpine Linux 3.19luajitFixed2.1_p20240815-r1ALPINE-CVE-2024-25178

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.