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


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.53% (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-UBUNTU1804-LUAJIT-10664247
  • published16 Jul 2026
  • disclosed7 Jul 2025

Introduced: 7 Jul 2025

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

How to fix?

Upgrade Ubuntu:18.04 luajit to version 2.1.0beta3+dfsg-5.1ubuntu0.18.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:18.04 relevant fixed versions and status.

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

version 3.1