### [CVE-2019-6706](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6706) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description 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. ### POC #### Reference - http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html - http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html - https://www.exploit-db.com/exploits/46246/ - https://www.exploit-db.com/exploits/46246/ #### Github - https://github.com/ARPSyndicate/cvemon