{"id":"CVE-2020-15945","state":"PUBLISHED","title":"Lua 5.4.0 (fixed in 5.4.1) 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 up","description":"Lua 5.4.0 (fixed in 5.4.1) 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.","publishedAt":"2020-07-24T20:05:57.000Z","updatedAt":"2025-02-19T14:35:13.589Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://lua-users.org/lists/lua-l/2020-07/msg00123.html","https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3","https://www.lua.org/bugs.html#5.4.0-8"],"weaknesses":[],"ingestedAt":"2026-10-29T19:46:36.523Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/15xxx/CVE-2020-15945.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-15945","state":"PUBLISHED","datePublished":"2020-07-24T20:05:57.000Z","dateUpdated":"2025-02-19T14:35:13.589Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2020-07-24T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Lua 5.4.0 (fixed in 5.4.1) 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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://lua-users.org/lists/lua-l/2020-07/msg00123.html"},{"url":"https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3"},{"url":"https://www.lua.org/bugs.html#5.4.0-8"}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2025-02-19T14:35:13.589Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-15945","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://lua-users.org/lists/lua-l/2020-07/msg00123.html","refsource":"MISC","url":"http://lua-users.org/lists/lua-l/2020-07/msg00123.html"},{"name":"https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3","refsource":"MISC","url":"https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://lua-users.org/lists/lua-l/2020-07/msg00123.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T13:30:23.337Z"}}]}}}