Vulnerabilities / CVE-2019-19391

critical

CVE-2019-19391

In LuaJIT through 2.0.5, as used in Moonjit before 2.1.2 and other pro ...

Published Modified CWE 843
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux.

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

Affected packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0sysbench0:1.0.20-3.azl3
debian 11luajit2.1.0~beta3+dfsg-5.3+deb11u1
debian 12luajit2.1.0~beta3+git20210112+dfsg-2
debian 13luajit2.1.0~beta3+git20210112+dfsg-2
debian 14luajit2.1.0~beta3+git20210112+dfsg-2
echoluajit2.1.0~beta3+git20210112+dfsg-2

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.