Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example, a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have certain relationships. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6706 Upstream: http://lua.2524044.n2.nabble.com/Bug-Report-Use-after-free-in-debug-upvaluejoin-tc7685506.html
*** This bug has been marked as a duplicate of bug 1670019 ***