{"id":"CVE-2019-6706","published":"2019-01-23T00:00:00Z","modified":"2024-08-04T20:31:04Z","title":"Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.1738,"percentile":0.97188,"provenance":"source"},"cwes":[],"references":[{"url":"http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html","tags":[]},{"url":"https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf","tags":[]},{"url":"https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e","tags":[]},{"url":"http://lua-users.org/lists/lua-l/2019-01/msg00039.html","tags":[]},{"url":"https://access.redhat.com/security/cve/cve-2019-6706","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html","tags":["mailing-list"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.44},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2019-01-25"},"first":{"date":"2019-01-25","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/46246"},"provenance":"source"},"summary":{"text":"The flaw is a use-after-free in the lua_upvaluejoin function in lapi.c, affecting Lua 5.3.5. An attacker able to trigger a debug.upvaluejoin call with specially related arguments can cause a crash.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:48:15Z"},"euvd":{"id":"EUVD-2019-16264","exploited":false,"provenance":"source"},"exploits":[{"id":46246,"url":"https://www.exploit-db.com/exploits/46246","title":"Lua 5.3.5 - 'debug.upvaluejoin' Use After Free","date":"2019-01-25","verified":false,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html"]}