CVE-2024-25178 Affecting luajit package, versions <2.1.0~beta3+dfsg-5.1ubuntu0.20.04.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.54% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-LUAJIT-10664253
  • published16 Jul 2026
  • disclosed7 Jul 2025

Introduced: 7 Jul 2025

CVE-2024-25178  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 luajit to version 2.1.0beta3+dfsg-5.1ubuntu0.20.04.1esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream luajit package and not the luajit package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1