Skip to content
OpenAdvisories
Unscored CVE-2019-19391 EUVD-2019-9012GHSA-756f-h55r-pvqq

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…

Published Nov 29, 2019 · Updated Nov 3, 2025 · 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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 luajit 2.1.0~beta3+git20210112+dfsg-2 —
Debian 13 luajit 2.1.0~beta3+git20210112+dfsg-2 —
Debian 12 luajit 2.1.0~beta3+git20210112+dfsg-2 —
Debian 11 luajit 2.1.0~beta3+dfsg-5.3+deb11u1 DLA-4283-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed luajit 2.1.20250826-1.1 openSUSE-SU-2025:15672-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 sysbench 1.0.20-3 —

Advisories 2

References