CVE-2020-24372: LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.
CVE-2020-24372 is a high-severity flaw (CVSS 7.5) affecting luajit. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.5% (top 25%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2020-08-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-24372?
luajit: upgrade to newer than 2.0.5. Exact commands for each OS are on this page.
Is CVE-2020-24372 being exploited?
CVE-2020-24372 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-24372 affect?
CVE-2020-24372 affects luajit. Severity is high (CVSS 7.5). LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.
How urgent is CVE-2020-24372?
Priority 55/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2024-25178 CRITICAL 9.1 UPGRADE LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an out-of-bounds read in the stack-overflow
- CVE-2024-25177 HIGH 7.5 UPGRADE LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an unsinking of IR_FSTORE for NULL metatabl
- CVE-2024-25176 CRITICAL 9.8 UPGRADE LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240626 have a stack-buffer-overflow in lj_strfmt_wfnum
- CVE-2020-15890 HIGH 7.5 UPGRADE MITIGATE LuaJit through 2.1.0-beta3 has an out-of-bounds read because __gc handler frame traversal is mishandled.
- CVE-2019-19391 CRITICAL 9.1 UPGRADE UPGRADE In LuaJIT through 2.0.5, as used in Moonjit before 2.1.2 and other products, debug.getinfo has a type confusio