# CVE-2019-19391: 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 arbitra…

- Severity: Critical 9.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.38%, higher than 73% of CVEs (2026-12-01)
- Published: 2019-11-29T15:18:49.000Z
- Modified: 2026-06-17T02:26:37.077Z
- Weaknesses: CWE-843
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- luajit luajit: up to 2.0.5
- moonjit_project moonjit: before 2.1.2

## Every score

- NVD: 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`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:P/A:N`

## References

- <https://github.com/LuaJIT/LuaJIT/pull/526> (issue-tracking, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00022.html>

## Sources

- CVE List: [CVE-2019-19391](https://www.cve.org/CVERecord?id=CVE-2019-19391), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2019-19391](https://nvd.nist.gov/vuln/detail/CVE-2019-19391), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-19391 · Whole record: https://cve.day/CVE-2019-19391.json · Rebuilt by cve.day 2026-11-25T22:57:48.309Z
