CVE-2024-25177
LuaJIT through 2.1 has an unsinking of IR_FSTORE for NULL metatable, which leads to Denial of...
LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an unsinking of IR_FSTORE for NULL metatable, which leads to Denial of Service (DoS).
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an unsinking of IR_FSTORE for NULL metatable, which leads to Denial of Service (DoS).
- Record
CVE-2024-25177- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
EUVDEUVD-2024-22513
7.5
LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an unsinking of IR_FSTORE for NULL metatable, which leads to Denial of Service (DoS).
- Record
EUVD-2024-22513- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-f734-p3hx-8cw4
7.5
LuaJIT through 2.1 has an unsinking of IR_FSTORE for NULL metatable, which leads to Denial of...
LuaJIT through 2.1 has an unsinking of IR_FSTORE for NULL metatable, which leads to Denial of Service (DoS).
- Record
GHSA-f734-p3hx-8cw4- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
NVD
7.5
LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an unsinking of IR_FSTORE for NULL metatable, which leads to Denial of Service (DoS).
- Record
CVE-2024-25177- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVALPINE-CVE-2024-25177
7.5
LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an unsinking of IR_FSTORE for NULL metatable, which leads to Denial of Service (DoS).
- Record
ALPINE-CVE-2024-25177- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2024-25177
7.5
- Record
BELL-CVE-2024-25177- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSV
7.5
LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an unsinking of IR_FSTORE for NULL metatable, which leads to Denial of Service (DoS).
- Record
CVE-2024-25177- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-04
OSVDEBIAN-CVE-2024-25177
7.5
LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an unsinking of IR_FSTORE for NULL metatable, which leads to Denial of Service (DoS).
- Record
DEBIAN-CVE-2024-25177- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-25177
7.5
LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an unsinking of IR_FSTORE for NULL metatable, which leads to Denial of Service (DoS).
- Record
UBUNTU-CVE-2024-25177- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVAZL-65535 No score
CVE-2024-25177 affecting package luajit for versions less than 2.1.0-28
LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an unsinking of IR_FSTORE for NULL metatable, which leads to Denial of Service (DoS).
- Record
AZL-65535- Updated
- 2026-11-02
OSVMGASA-2026-0225 No score
Updated luajit packages fix security vulnerabilities
In LuaJIT through 2.0.5, as used in Moonjit before 2.1.2 and other products, debug.getinfo has a type confusion issue that leads to arbitrary memory write or read operations, because certain cases involving valid stack levels and > options are mishandled. (CVE-2019-19391) LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c. (CVE-2020-24372) 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. (CVE-2024-25176) LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an unsinking of IR_FSTORE for NULL metatable, which leads to Denial of Service (DoS). (CVE-2024-25177) 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. (CVE-2024-25178)
- Record
MGASA-2026-0225- Updated
- 2026-11-02
OSVSUSE-SU-2025:02886-1 No score
Security update for lua51-luajit
This update for lua51-luajit fixes the following issues:
- CVE-2024-25176: Fixed stack-buffer-overflow in lj_strfmt_wfnum in lj_strfmt_num.c (bsc#1246077)
- CVE-2024-25177: Fixed unsinking of IR_FSTORE for NULL metatable (bsc#1246078)
- CVE-2024-25178: Fixed ut-of-bounds read in the stack-overflow handler in lj_state.c (bsc#1246079)
- Record
SUSE-SU-2025:02886-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:03378-1 No score
Security update for luajit
This update for luajit fixes the following issues:
- CVE-2024-25176: Fixed stack-buffer-overflow in lj_strfmt_wfnum in lj_strfmt_num.c (bsc#1246077)
- CVE-2024-25177: Fixed unsinking of IR_FSTORE for NULL metatable (bsc#1246078)
- CVE-2024-25178: Fixed out-of-bounds read in the stack-overflow handler in lj_state.c (bsc#1246079)
- Record
SUSE-SU-2025:03378-1- Updated
- 2026-11-02
OSVUSN-8544-1 No score
luajit vulnerabilities
It was discovered that LuaJIT incorrectly handled certain inputs. An attacker could possibly use these issues to cause a crash, resulting in a denial of service, or execute arbitrary code.
- Record
USN-8544-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
luajitAlpine:v3.19 |
before 2.1_p20240815-r1 | 2.1_p20240815-r1 |
luajitAlpine:v3.20 |
before 2.1_p20240815-r1 | 2.1_p20240815-r1 |
luajitAlpine:v3.21 |
before 2.1_p20240815-r1 | 2.1_p20240815-r1 |
luajitAlpine:v3.22 |
before 2.1_p20240815-r1 | 2.1_p20240815-r1 |
luajitAlpine:v3.23 |
before 2.1_p20240815-r1 | 2.1_p20240815-r1 |
luajitAlpine:v3.24 |
before 2.1_p20240815-r1 | 2.1_p20240815-r1 |
luajitAzure Linux:2 |
before 2.1.0-28 | 2.1.0-28 |
luajitAlpaquita:23 |
2.1_p20210510-r3 up to 2.1_p20210510-r4 | 2.1_p20210510-r4 |
luajitAlpaquita:stream |
2.1_p20210510-r3 up to 2.1_p20240314-r0 | 2.1_p20240314-r0 |
luajitDebian:12 |
before 2.1.0~beta3+git20220320+dfsg-4.1+deb12u1, plus listed versions 2.1.0~beta3+git20220320+dfsg-4.1 |
2.1.0~beta3+git20220320+dfsg-4.1+deb12u1 |
Show 25 moreShow less
| Package | Affected | Fixed |
|---|---|---|
luajitDebian:13 |
before 2.1.0+openresty20240314-1 | 2.1.0+openresty20240314-1 |
luajitDebian:14 |
before 2.1.0+openresty20240314-1 | 2.1.0+openresty20240314-1 |
luajitDebian:11 From an advisory covering 6 CVEs |
before 2.1.0~beta3+dfsg-5.3+deb11u1, plus listed versions 2.1.0~beta3+dfsg-5.3 |
2.1.0~beta3+dfsg-5.3+deb11u1 |
luajitMageia:9 From an advisory covering 5 CVEs |
before 2.1.0-0.beta3.10.1.mga9 | 2.1.0-0.beta3.10.1.mga9 |
lua51-luajitopenSUSE:Leap 15.6 From an advisory covering 3 CVEs |
before 2.1.0~beta2-150000.3.3.1 | 2.1.0~beta2-150000.3.3.1 |
luajitSUSE:Linux Enterprise Module for Basesystem 15 SP6 From an advisory covering 3 CVEs |
before 2.1.0~beta3+git.1624618403.e9577376-150400.4.5.1 | 2.1.0~beta3+git.1624618403.e9577376-150400.4.5.1 |
luajitSUSE:Linux Enterprise Module for Basesystem 15 SP7 From an advisory covering 3 CVEs |
before 2.1.0~beta3+git.1624618403.e9577376-150400.4.5.1 | 2.1.0~beta3+git.1624618403.e9577376-150400.4.5.1 |
luajitSUSE:Linux Enterprise Module for Package Hub 15 SP6 From an advisory covering 3 CVEs |
before 2.1.0~beta3+git.1624618403.e9577376-150400.4.5.1 | 2.1.0~beta3+git.1624618403.e9577376-150400.4.5.1 |
luajitSUSE:Linux Enterprise Module for Package Hub 15 SP7 From an advisory covering 3 CVEs |
before 2.1.0~beta3+git.1624618403.e9577376-150400.4.5.1 | 2.1.0~beta3+git.1624618403.e9577376-150400.4.5.1 |
luajitopenSUSE:Leap 15.6 From an advisory covering 3 CVEs |
before 2.1.0~beta3+git.1624618403.e9577376-150400.4.5.1 | 2.1.0~beta3+git.1624618403.e9577376-150400.4.5.1 |
luajitUbuntu:Pro:14.04:LTS |
before 2.0.2+dfsg-1ubuntu0.1~esm1, plus listed versions 2.0.2+dfsg-1 |
2.0.2+dfsg-1ubuntu0.1~esm1 |
luajitUbuntu:Pro:16.04:LTS |
before 2.0.4+dfsg-1+deb9u1ubuntu0.1~esm1, plus listed versions 2.0.4+dfsg-12.0.4+dfsg-1+deb9u1build0.16.04.1 |
2.0.4+dfsg-1+deb9u1ubuntu0.1~esm1 |
luajitUbuntu:Pro:18.04:LTS |
before 2.1.0~beta3+dfsg-5.1ubuntu0.18.04.1~esm1, plus listed versions 2.0.4+dfsg-12.1.0~beta3+dfsg-52.1.0~beta3+dfsg-5.1 |
2.1.0~beta3+dfsg-5.1ubuntu0.18.04.1~esm1 |
luajitUbuntu:Pro:20.04:LTS |
before 2.1.0~beta3+dfsg-5.1ubuntu0.20.04.1~esm1, plus listed versions 2.1.0~beta3+dfsg-5.12.1.0~beta3+dfsg-5.1build1 |
2.1.0~beta3+dfsg-5.1ubuntu0.20.04.1~esm1 |
luajitUbuntu:22.04:LTS |
before 2.1.0~beta3+dfsg-6ubuntu0.1, plus listed versions 2.1.0~beta3+dfsg-6 |
2.1.0~beta3+dfsg-6ubuntu0.1 |
luajitUbuntu:24.04:LTS |
before 2.1.0+git20231223.c525bcb+dfsg-1ubuntu0.1, plus listed versions 2.1.0~beta3+git20220320+dfsg-4.12.1.0+git20231223.c525bcb+dfsg-1~build12.1.0+git20231223.c525bcb+dfsg-1 |
2.1.0+git20231223.c525bcb+dfsg-1ubuntu0.1 |
luajitUbuntu:25.10 |
All versions, plus listed versions 2.1.0+openresty20250117-22.1.0+openresty20250117-2ubuntu1 |
None known |
luajitUbuntu:26.10 |
All versions, plus listed versions 2.1.0+openresty20251030-1 |
None known |
luajitUbuntu:26.04:LTS |
All versions, plus listed versions 2.1.0+openresty20250117-2ubuntu12.1.0+openresty20251030-1 |
None known |
luajitUbuntu:Pro:14.04:LTS From an advisory covering 3 CVEs |
before 2.0.2+dfsg-1ubuntu0.1~esm1, plus listed versions 2.0.2+dfsg-1 |
2.0.2+dfsg-1ubuntu0.1~esm1 |
luajitUbuntu:Pro:16.04:LTS From an advisory covering 3 CVEs |
before 2.0.4+dfsg-1+deb9u1ubuntu0.1~esm1, plus listed versions 2.0.4+dfsg-12.0.4+dfsg-1+deb9u1build0.16.04.1 |
2.0.4+dfsg-1+deb9u1ubuntu0.1~esm1 |
luajitUbuntu:Pro:18.04:LTS From an advisory covering 3 CVEs |
before 2.1.0~beta3+dfsg-5.1ubuntu0.18.04.1~esm1, plus listed versions 2.0.4+dfsg-12.1.0~beta3+dfsg-52.1.0~beta3+dfsg-5.1 |
2.1.0~beta3+dfsg-5.1ubuntu0.18.04.1~esm1 |
luajitUbuntu:Pro:20.04:LTS From an advisory covering 3 CVEs |
before 2.1.0~beta3+dfsg-5.1ubuntu0.20.04.1~esm1, plus listed versions 2.1.0~beta3+dfsg-5.12.1.0~beta3+dfsg-5.1build1 |
2.1.0~beta3+dfsg-5.1ubuntu0.20.04.1~esm1 |
luajitUbuntu:22.04:LTS From an advisory covering 3 CVEs |
before 2.1.0~beta3+dfsg-6ubuntu0.1, plus listed versions 2.1.0~beta3+dfsg-6 |
2.1.0~beta3+dfsg-6ubuntu0.1 |
luajitUbuntu:24.04:LTS From an advisory covering 3 CVEs |
before 2.1.0+git20231223.c525bcb+dfsg-1ubuntu0.1, plus listed versions 2.1.0~beta3+git20220320+dfsg-4.12.1.0+git20231223.c525bcb+dfsg-1~build12.1.0+git20231223.c525bcb+dfsg-1 |
2.1.0+git20231223.c525bcb+dfsg-1ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | OSV | |
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-25177 is a high vulnerability (CVSS 7.5) in Luajit, published July 7, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.57%, the 47th percentile. Fixed in luajit 2.1_p20240815-r1.
References
github.com/LuaJIT/LuaJIT/commit/85b4fed0b0353dd78c8c875c2f562d522a2b310f
github.com/LuaJIT/LuaJIT/issues/1147
gist.github.com/pwnhacker0x18/a73f560d79f2c3d4011d6c5a2676f04a
github.com/openresty/luajit2/commit/85b4fed0b0353dd78c8c875c2f562d522a2b310f
lists.debian.org/debian-lts-announce/2025/08/msg00022.html
nvd.nist.gov/vuln/detail/CVE-2024-25177
Show 21 moreShow less
github.com/advisories/GHSA-f734-p3hx-8cw4
security.alpinelinux.org/vuln/CVE-2024-25177
docs.bell-sw.com/security/cves/CVE-2024-25177
github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25177.json
security-tracker.debian.org/tracker/CVE-2024-25177
advisories.mageia.org/MGASA-2026-0225.html
bugs.mageia.org/show_bug.cgi?id=34491
lists.fedoraproject.org/archives/list/[email protected]/message/XU3NWLH45W4F7OBKEB4XEOJQI4S36PU5
suse.com/support/update/announcement/2025/suse-su-202502886-1
bugzilla.suse.com/1246077
bugzilla.suse.com/1246078
bugzilla.suse.com/1246079
suse.com/security/cve/CVE-2024-25176
suse.com/security/cve/CVE-2024-25177
suse.com/security/cve/CVE-2024-25178
suse.com/support/update/announcement/2025/suse-su-202503378-1
ubuntu.com/security/CVE-2024-25177
cve.org/CVERecord?id=CVE-2024-25177
ubuntu.com/security/notices/USN-8544-1
ubuntu.com/security/CVE-2024-25176
ubuntu.com/security/CVE-2024-25178