{"id":"UBUNTU-CVE-2022-33099","details":"An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.","modified":"2026-04-22T13:23:29.451241Z","published":"2022-07-01T12:15:00Z","related":["USN-6916-1"],"upstream":["CVE-2022-33099"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-33099"},{"type":"REPORT","url":"https://lua-users.org/lists/lua-l/2022-05/msg00073.html"},{"type":"REPORT","url":"https://lua-users.org/lists/lua-l/2022-05/msg00042.html"},{"type":"REPORT","url":"https://www.lua.org/bugs.html#Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error:~:text=Lua%2Dstack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error"},{"type":"REPORT","url":"https://lua-users.org/lists/lua-l/2022-05/msg00035.html"},{"type":"REPORT","url":"https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-33099"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6916-1"}],"affected":[{"package":{"name":"lua5.4","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/lua5.4@5.4.4-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.4-1ubuntu0.1~esm1"}]}],"versions":["5.4.2-2","5.4.3-1","5.4.4-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"liblua5.4-0","binary_version":"5.4.4-1ubuntu0.1~esm1"},{"binary_name":"lua5.4","binary_version":"5.4.4-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-33099.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}