CVE-2024-25178: Critical severity LuaJit LuaJIT vulnerability

Published Jul 7, 2025
·
Updated

Last updated 16 July 2026

Other sources

LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an out-of-bounds read in the stack-overflow handler in ljstate.c.

MITRE

Affected Software

3 affected componentsFixes available
LuaJit LuaJIT<2.1
LuaJit LuaJIT<=2.1.0
debian/luajit<=2.1.0~beta3+dfsg-5.3
2.1.0~beta3+dfsg-5.3+deb11u12.1.0~beta3+git20220320+dfsg-4.1+deb12u12.1.0+openresty20250117-22.1.0+openresty20251030-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/luajit to a version that resolves this vulnerability.

    Fixed in 2.1.0~beta3+dfsg-5.3+deb11u1Fixed in 2.1.0~beta3+git20220320+dfsg-4.1+deb12u1Fixed in 2.1.0+openresty20250117-2Fixed in 2.1.0+openresty20251030-1
  2. Upgrade

    Upgrade LuaJIT to a version that resolves this vulnerability.

    Fixed in 2.1-20240314
  3. Upgrade

    Upgrade OpenRusty luajit2 to a version that resolves this vulnerability.

    Fixed in v2.1-20240314

Event History

Jul 7, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 16, 2026
Data Sourced
via Ubuntu·02:38 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·02:40 PM
DescriptionAffected Software
Data Sourced
via Launchpad·02:40 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2024-25178?

CVE-2024-25178 has a severity rating that indicates it poses a risk of out-of-bounds read vulnerabilities in LuaJIT.

2

How do I fix CVE-2024-25178?

To fix CVE-2024-25178, upgrade LuaJIT to version 2.1-20240314 or later.

3

What software versions are affected by CVE-2024-25178?

CVE-2024-25178 affects LuaJIT versions prior to 2.1-20240314.

4

What is the impact of CVE-2024-25178?

The impact of CVE-2024-25178 includes potential exploitation leading to stack overflow issues.

5

Is CVE-2024-25178 an active vulnerability?

As of now, CVE-2024-25178 is recognized as a vulnerability that could be actively exploited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203