{"id":"CVE-2019-6706","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-6706","generatedAt":"2026-11-05T03:18:48.576Z","title":"Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c.","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.","published":"2019-01-23T19:29:00.000Z","lastModified":"2026-06-17T02:39:33.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"cwe":["CWE-416"],"affected":["lua/lua","canonical/ubuntu linux"],"epss":{"score":0.17359,"percentile":0.9712,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2019-01-25","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":46246,"kind":"exploit","title":"Lua 5.3.5 - 'debug.upvaluejoin' Use After Free","url":"https://www.exploit-db.com/exploits/46246","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/dos/46246.txt","file":"exploits/multiple/dos/46246.txt","published":"2019-01-25","added":"2019-01-25","updated":"2019-01-25","author":"Fady Mohammed Osman","type":"dos","platform":"multiple","port":null,"verified":false,"codes":["CVE-2019-6706"],"tags":"Use After Free (UAF)","aliases":null,"applicationUrl":"http://www.exploit-db.comlua-5.3.5.tar.gz","screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 17.4%, higher than 97% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://lua-users.org/lists/lua-l/2019-01/msg00039.html","tags":["Broken Link"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/security/cve/cve-2019-6706","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html","source":"cve@mitre.org"},{"url":"http://lua-users.org/lists/lua-l/2019-01/msg00039.html","tags":["Broken Link"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/security/cve/cve-2019-6706","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-6706","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}