Description
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.
References (7)
Core 7
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf
Exploit, Mailing List, Vendor Advisory x_refsource_misc
https://lua-users.org/lists/lua-l/2022-05/msg00035.html
Exploit, Mailing List, Vendor Advisory x_refsource_misc
https://lua-users.org/lists/lua-l/2022-05/msg00042.html
Exploit, Mailing List, Vendor Advisory x_refsource_misc
https://lua-users.org/lists/lua-l/2022-05/msg00073.html
Various Sources x_refsource_misc
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
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/
Scores
CVSS v3
7.5
EPSS
0.0030
EPSS Percentile
53.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-787
Status
published
Products (3)
fedoraproject/fedora
35
fedoraproject/fedora
36
lua/lua
5.4.2 - 5.4.4
Published
Jul 01, 2022
Tracked Since
Feb 18, 2026