Every CVE Search/ Get API key

CVE-2020-24372

LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.

7.5 HighFix available

CVE-2020-24372 is a high vulnerability (CVSS 7.5) in Luajit, published August 17, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.54%, the 74th percentile. Fixed in luajit 2.1.0~beta3+git20210112+dfsg-2.

LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.

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

1.54%Up 1.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.

Record
CVE-2020-24372
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.

Record
CVE-2020-24372
Updated
2026-11-02
EUVDEUVD-2020-17104 No score

LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.

Record
EUVD-2020-17104
Updated
2026-11-02
GitHub AdvisoriesGHSA-cf74-x979-rggp 7.5

LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.

LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.

Record
GHSA-cf74-x979-rggp
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSV 7.5

LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.

Record
CVE-2020-24372
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-24372 7.5

LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.

Record
DEBIAN-CVE-2020-24372
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2021-1057 7.5

luajit security update

LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language. Lua is a powerful, dynamic and light-weight programming language. It may be embedded or used as a general-purpose, stand-alone language.

Security Fix(es):

LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.(CVE-2020-24372)

Record
OESA-2021-1057
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-24372 7.5

LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.

Record
UBUNTU-CVE-2020-24372
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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

Affected products

Affected packages

Affected packages
PackageAffectedFixed
luajit
Debian:12
before 2.1.0~beta3+git20210112+dfsg-2
2.1.0~beta3+git20210112+dfsg-2
luajit
Debian:13
before 2.1.0~beta3+git20210112+dfsg-2
2.1.0~beta3+git20210112+dfsg-2
luajit
Debian:14
before 2.1.0~beta3+git20210112+dfsg-2
2.1.0~beta3+git20210112+dfsg-2
luajit
Debian:11
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
luajit
Mageia:9
before 2.1.0-0.beta3.10.1.mga9
2.1.0-0.beta3.10.1.mga9
luajit
openEuler:20.03-LTS
before 2.1.0-2.oe1
2.1.0-2.oe1
luajit
openEuler:20.03-LTS-SP1
before 2.1.0-2.oe1
2.1.0-2.oe1
luajit
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
2.0.2+dfsg-12.0.2+dfsg-1ubuntu0.1~esm1
None known
luajit
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
2.0.4+dfsg-12.0.4+dfsg-1+deb9u1build0.16.04.12.0.4+dfsg-1+deb9u1ubuntu0.1~esm1
None known
luajit
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
2.0.4+dfsg-12.1.0~beta3+dfsg-52.1.0~beta3+dfsg-5.12.1.0~beta3+dfsg-5.1ubuntu0.18.04.1~esm1
None known
Show 6 moreShow less
Affected packages
PackageAffectedFixed
luajit
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
2.1.0~beta3+dfsg-5.12.1.0~beta3+dfsg-5.1build12.1.0~beta3+dfsg-5.1ubuntu0.20.04.1~esm1
None known
luajit
Ubuntu:22.04:LTS
All versions, plus listed versions
2.1.0~beta3+dfsg-62.1.0~beta3+dfsg-6ubuntu0.1
None known
luajit
Ubuntu:24.04:LTS
All versions, plus listed versions
2.1.0~beta3+git20220320+dfsg-4.12.1.0+git20231223.c525bcb+dfsg-1~build12.1.0+git20231223.c525bcb+dfsg-12.1.0+git20231223.c525bcb+dfsg-1ubuntu0.1
None known
luajit
Ubuntu:25.10
All versions, plus listed versions
2.1.0+openresty20250117-22.1.0+openresty20250117-2ubuntu1
None known
luajit
Ubuntu:26.10
All versions, plus listed versions
2.1.0+openresty20251030-1
None known
luajit
Ubuntu:26.04:LTS
All versions, plus listed versions
2.1.0+openresty20250117-2ubuntu12.1.0+openresty20251030-1
None known

History

History
WhenChangedSources
2026-11-02createdCVE List, EUVD, GitHub Advisories, NVD, OSV

References

Show 5 moreShow less
MoveEnter Open