{"id":"UBUNTU-CVE-2019-6706","details":"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.","modified":"2026-01-30T01:03:39.205440Z","published":"2019-01-23T00:00:00Z","related":["USN-3941-1"],"upstream":["CVE-2019-6706"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-6706"},{"type":"REPORT","url":"http://lua.2524044.n2.nabble.com/Bug-Report-Use-after-free-in-debug-upvaluejoin-tc7685506.html"},{"type":"REPORT","url":"http://lua.2524044.n2.nabble.com/CVE-2019-6706-use-after-free-in-lua-upvaluejoin-function-tc7685575.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3941-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-6706"}],"affected":[{"package":{"name":"lua5.3","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/lua5.3@5.3.1-1ubuntu2.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.1-1ubuntu2.1"}]}],"versions":["5.3.1-1","5.3.1-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"liblua5.3-0","binary_version":"5.3.1-1ubuntu2.1"},{"binary_name":"liblua5.3-dev","binary_version":"5.3.1-1ubuntu2.1"},{"binary_name":"lua5.3","binary_version":"5.3.1-1ubuntu2.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6706.json"}},{"package":{"name":"lua5.3","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/lua5.3@5.3.3-1ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.3-1ubuntu0.18.04.1"}]}],"versions":["5.3.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblua5.3-0","binary_version":"5.3.3-1ubuntu0.18.04.1"},{"binary_name":"liblua5.3-dev","binary_version":"5.3.3-1ubuntu0.18.04.1"},{"binary_name":"lua5.3","binary_version":"5.3.3-1ubuntu0.18.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6706.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}