Lua through 5.4.0 mishandles the interaction between stack resizes and garbage collection, leading to a heap-based buffer overflow, heap-based buffer over-read, or use-after-free.
lua-users.org/lists/lua-l/2020-07/msg00053.html
lua-users.org/lists/lua-l/2020-07/msg00054.html
lua-users.org/lists/lua-l/2020-07/msg00071.html
lua-users.org/lists/lua-l/2020-07/msg00079.html
github.com/lua/lua/commit/6298903e35217ab69c279056f925fb72900ce0b7
github.com/lua/lua/commit/eb41999461b6f428186c55abd95f4ce1a76217d5