{"id":"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.","aliases":["BIT-lua-2022-33099"],"modified":"2026-07-15T02:05:46.398722115Z","published":"2022-07-01T11:26:38Z","related":["ALSA-2022:7329","openSUSE-SU-2024:12167-1","openSUSE-SU-2025:15401-1"],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/33xxx/CVE-2022-33099.json"},"references":[{"type":"WEB","url":"https://lua-users.org/lists/lua-l/2022-05/msg00035.html"},{"type":"WEB","url":"https://lua-users.org/lists/lua-l/2022-05/msg00042.html"},{"type":"WEB","url":"https://lua-users.org/lists/lua-l/2022-05/msg00073.html"},{"type":"WEB","url":"https://www.lua.org/bugs.html#Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error:~:text=Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/33xxx/CVE-2022-33099.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-33099"},{"type":"FIX","url":"https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lua/lua","events":[{"introduced":"9d067ab73b6befa0a5418f1df35c711f6c6918b3"},{"fixed":"42d40581dd919fb134c07027ca1ce0844c670daf"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"5.4.2"},{"last_affected":"5.4.4"}]}}],"versions":["v5.4.4","v5.4.3","v5.4.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-33099.json"}}],"schema_version":"1.7.5"}