Lua through 5.4.0 has a segmentation fault in changedline in ldebug.c (e.g., when called by luaG_traceexec) because it incorrectly expects that an oldpc value is always updated upon a return of the flow of control to a function.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15945
Reference (s):
- http://lua-users.org/lists/lua-l/2020-07/msg00123.html
- https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3

