Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

UBUNTU-CVE-2024-25178

0
High
Published: 07/07/2025 (07/07/2025, 17:15:00 UTC)
Source: GCVE Database
Product: luajit

Description

LuaJIT through version 2.1 and OpenRusty luajit2 before v2.1-20240314 contain an out-of-bounds read vulnerability in the stack-overflow handler located in lj_state.c. This vulnerability can lead to a high impact on confidentiality and availability without requiring user interaction or privileges. Multiple specific versions of LuaJIT are affected, including several Ubuntu package versions. No known exploits are reported in the wild at this time.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
luajit
pkg:deb/ubuntu/[email protected]+dfsg-1ubuntu0.1~esm1?arch=source&distro=esm-infra-legacy/trusty
Affected versions
<2.0.2+dfsg-1ubuntu0.1~esm1=2.0.2+dfsg-1
Ubuntu:Pro:16.04:LTSmore threats →ghsa
luajit
pkg:deb/ubuntu/[email protected]+dfsg-1+deb9u1ubuntu0.1~esm1?arch=source&distro=esm-apps-legacy/xenial
Affected versions
<2.0.4+dfsg-1+deb9u1ubuntu0.1~esm1=2.0.4+dfsg-1=2.0.4+dfsg-1+deb9u1build0.16.04.1
Ubuntu:Pro:18.04:LTSmore threats →ghsa
luajit
pkg:deb/ubuntu/[email protected]~beta3+dfsg-5.1ubuntu0.18.04.1~esm1?arch=source&distro=esm-apps/bionic
Affected versions
<2.1.0~beta3+dfsg-5.1ubuntu0.18.04.1~esm1=2.0.4+dfsg-1=2.1.0~beta3+dfsg-5=2.1.0~beta3+dfsg-5.1
Ubuntu:Pro:20.04:LTSmore threats →ghsa
luajit
pkg:deb/ubuntu/[email protected]~beta3+dfsg-5.1ubuntu0.20.04.1~esm1?arch=source&distro=esm-apps/focal
Affected versions
<2.1.0~beta3+dfsg-5.1ubuntu0.20.04.1~esm1=2.1.0~beta3+dfsg-5.1=2.1.0~beta3+dfsg-5.1build1
Ubuntu:22.04:LTSmore threats →ghsa
luajit
pkg:deb/ubuntu/[email protected]~beta3+dfsg-6ubuntu0.1?arch=source&distro=jammy
Affected versions
<2.1.0~beta3+dfsg-6ubuntu0.1=2.1.0~beta3+dfsg-6
Ubuntu:24.04:LTSmore threats →ghsa
luajit
pkg:deb/ubuntu/[email protected]+git20231223.c525bcb+dfsg-1ubuntu0.1?arch=source&distro=noble
Affected versions
<2.1.0+git20231223.c525bcb+dfsg-1ubuntu0.1=2.1.0~beta3+git20220320+dfsg-4.1=2.1.0+git20231223.c525bcb+dfsg-1~build1=2.1.0+git20231223.c525bcb+dfsg-1
Ubuntu:25.10more threats →ghsa
luajit
pkg:deb/ubuntu/[email protected]+openresty20250117-2ubuntu1?arch=source&distro=questing
Affected versions
=2.1.0+openresty20250117-2=2.1.0+openresty20250117-2ubuntu1
Ubuntu:26.04:LTSmore threats →ghsa
luajit
pkg:deb/ubuntu/[email protected]+openresty20251030-1?arch=source&distro=resolute
Affected versions
=2.1.0+openresty20250117-2ubuntu1=2.1.0+openresty20251030-1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 14:24:12 UTC

Technical Analysis

The vulnerability in LuaJIT and OpenRusty luajit2 involves an out-of-bounds read in the stack-overflow handler implemented in the lj_state.c source file. This flaw exists in LuaJIT through version 2.1 and OpenRusty luajit2 versions prior to v2.1-20240314. The CVSS 3.1 vector indicates the vulnerability is remotely exploitable without privileges or user interaction, causing high confidentiality impact and high availability impact, but no integrity impact. The affected versions include specific Ubuntu package versions of LuaJIT and OpenRusty luajit2 as listed. No known exploits in the wild have been reported, and the product is not a cloud service.

Potential Impact

Successful exploitation of this out-of-bounds read vulnerability can lead to unauthorized disclosure of information (high confidentiality impact) and denial of service (high availability impact). There is no impact on integrity. The vulnerability can be exploited remotely without authentication or user interaction, increasing its risk profile.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users should monitor Ubuntu security advisories and update to fixed versions once available. Until then, cautious use of affected LuaJIT versions is advised.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2024-25178
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a58b50e68715ace43db32a6

Added to database: 07/16/2026, 10:40:14 UTC

Last enriched: 07/16/2026, 14:24:12 UTC

Last updated: 07/16/2026, 23:03:51 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses