CVE-2019-19391
In LuaJIT through 2.0.5, as used in Moonjit before 2.1.2 and other products, debug.getinfo has a...
CVE-2019-19391 is a critical vulnerability (CVSS 9.1) in Luajit, published November 29, 2019. Its validity is disputed. EPSS puts the chance of exploitation in the next 30 days at 1.40%, the 72nd percentile. Fixed in sysbench 1.0.20-3.
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. NOTE: The LuaJIT project owner states that the debug libary is unsafe by definition and that this is not a vulnerability. When LuaJIT was originally developed, the expectation was that the entire debug library had no security guarantees and thus it made no sense to assign CVEs. However, not all users of later LuaJIT derivatives share this perspective
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
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
9.1
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. NOTE: The LuaJIT project owner states that the debug libary is unsafe by definition and that this is not a vulnerability. When LuaJIT was originally developed, the expectation was that the entire debug library had no security guarantees and thus it made no sense to assign CVEs. However, not all users of later LuaJIT derivatives share this perspective
- Record
CVE-2019-19391- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - CVSS 2.0
- 6.4 Medium
AV:N/AC:L/Au:N/C:P/I:P/A:N - Weakness
- CWE-843
- Updated
- 2026-11-02
CVE List No score
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. NOTE: The LuaJIT project owner states that the debug libary is unsafe by definition and that this is not a vulnerability. When LuaJIT was originally developed, the expectation was that the entire debug library had no security guarantees and thus it made no sense to assign CVEs. However, not all users of later LuaJIT derivatives share this perspective
- Record
CVE-2019-19391- Updated
- 2026-11-02
EUVDEUVD-2019-9012 No score
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. NOTE: The LuaJIT project owner states that the debug libary is unsafe by definition and that this is not a vulnerability. When LuaJIT was originally developed, the expectation was that the entire debug library had no security guarantees and thus it made no sense to assign CVEs. However, not all users of later LuaJIT derivatives share this perspective
- Record
EUVD-2019-9012- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-756f-h55r-pvqq
9.1
In LuaJIT through 2.0.5, as used in Moonjit before 2.1.2 and other products, debug.getinfo has a...
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.
- Record
GHSA-756f-h55r-pvqq- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-843
- Updated
- 2026-11-02
OSVAZL-41306
9.1
CVE-2019-19391 affecting package sysbench for versions less than 1.0.20-3
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. NOTE: The LuaJIT project owner states that the debug libary is unsafe by definition and that this is not a vulnerability. When LuaJIT was originally developed, the expectation was that the entire debug library had no security guarantees and thus it made no sense to assign CVEs. However, not all users of later LuaJIT derivatives share this perspective
- Record
AZL-41306- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVBELL-CVE-2019-19391
9.1
CVE-2019-19391 does not affect BellSoft software
- Record
BELL-CVE-2019-19391- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
Show 6 moreShow less
OSV
9.1
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. NOTE: The LuaJIT project owner states that the debug libary is unsafe by definition and that this is not a vulnerability. When LuaJIT was originally developed, the expectation was that the entire debug library had no security guarantees and thus it made no sense to assign CVEs. However, not all users of later LuaJIT derivatives share this perspective
- Record
CVE-2019-19391- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-04
OSVDEBIAN-CVE-2019-19391
9.1
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. NOTE: The LuaJIT project owner states that the debug libary is unsafe by definition and that this is not a vulnerability. When LuaJIT was originally developed, the expectation was that the entire debug library had no security guarantees and thus it made no sense to assign CVEs. However, not all users of later LuaJIT derivatives share this perspective
- Record
DEBIAN-CVE-2019-19391- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-19391
9.1
** DISPUTED ** 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. NOTE: The LuaJIT project owner states that the debug libary is unsafe by definition and that this is not a vulnerability. When LuaJIT was originally developed, the expectation was that the entire debug library had no security guarantees and thus it made no sense to assign CVEs. However, not all users of later LuaJIT derivatives share this perspective.
- Record
UBUNTU-CVE-2019-19391- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - 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
OSVopenSUSE-SU-2024:13922-1 No score
libluajit2-5_1-2-2.1.20240314-1.1 on GA media
These are all security issues fixed in the libluajit2-5_1-2-2.1.20240314-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13922-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15672-1 No score
libluajit-5_1-2-2.1.20250826-1.1 on GA media
These are all security issues fixed in the libluajit-5_1-2-2.1.20250826-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15672-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sysbenchAzure Linux:3 |
before 1.0.20-3 | 1.0.20-3 |
luajitDebian:12 |
before 2.1.0~beta3+git20210112+dfsg-2 | 2.1.0~beta3+git20210112+dfsg-2 |
luajitDebian:13 |
before 2.1.0~beta3+git20210112+dfsg-2 | 2.1.0~beta3+git20210112+dfsg-2 |
luajitDebian:14 |
before 2.1.0~beta3+git20210112+dfsg-2 | 2.1.0~beta3+git20210112+dfsg-2 |
luajitDebian: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 |
luajitMageia:9 |
before 2.1.0-0.beta3.10.1.mga9 | 2.1.0-0.beta3.10.1.mga9 |
luajitopenSUSE:Tumbleweed |
before 2.1.20250826-1.1 | 2.1.20250826-1.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-04 | facts | OSV |
| 2026-11-03 | affected | OSV |
| 2026-11-02 | created | CVE List, EUVD, GitHub Advisories, NVD, OSV |
References
github.com/LuaJIT/LuaJIT/pull/526
lists.debian.org/debian-lts-announce/2025/08/msg00022.html
nvd.nist.gov/vuln/detail/CVE-2019-19391
github.com/advisories/GHSA-756f-h55r-pvqq
docs.bell-sw.com/security/cves/CVE-2019-19391
security-tracker.debian.org/tracker/CVE-2019-19391