{"id":"CVE-2020-15945","aliases":["AZL-40818","AZL-6671","BIT-lua-2020-15945","DEBIAN-CVE-2020-15945","EUVD-2020-7916","GHSA-4fp8-99qh-27p3","JLSEC-2026-554","openSUSE-SU-2024:11029-1","openSUSE-SU-2025:15401-1"],"status":"published","title":"Lua through 5.4.0 has a segmentation fault in changedline in ldebug.c (e.g., when called by...","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.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.00545,"percentile":0.46245,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2020-07-24T20:05:57Z","modified":"2026-11-05T05:40:51Z","fixes":[{"ecosystem":"Azure Linux:3","package":"lua","fixed_in":["5.4.0-1"],"sources":["osv"]},{"ecosystem":"Azure Linux:2","package":"lua","fixed_in":["5.4.3-1"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"lua","fixed_in":["5.4.0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"lua5.4","fixed_in":["5.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"lua5.4","fixed_in":["5.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"lua5.4","fixed_in":["5.4.1-1"],"sources":["osv"]},{"ecosystem":"Julia","package":"Lua_jll","fixed_in":["5.4.3+0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"lua","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.0-1"}]}]},{"source":"osv","ecosystem":"Azure Linux:2","package":"lua","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.3-1"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"lua","ranges":[{"type":"SEMVER","events":[{"introduced":"5.3.1"},{"fixed":"5.4.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"lua5.4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"lua5.4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"lua5.4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.1-1"}]}]},{"source":"osv","ecosystem":"Julia","package":"Lua_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.4.3+0"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"lua55","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.0~beta1-1.1"}]}],"bundled":9}],"products":[{"vendor":"lua","product":"lua"}],"references":[{"url":"http://lua-users.org/lists/lua-l/2020-07/msg00123.html","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","Third Party Advisory","advisory","evidence","web"]},{"url":"https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","advisory","fix","web"]},{"url":"https://www.lua.org/bugs.html#5.4.0-8","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15945","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4fp8-99qh-27p3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-15945","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2020-15888","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-15945","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-24342","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-24369","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-24370","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-24371","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-43519","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-44647","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-33099","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2020-15945","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.","status":"published","published":"2020-07-24T20:05:57Z","modified":"2025-02-19T14:35:13.589Z","updated_at":"2026-11-02T14:35:50.228781Z"}],"euvd":[{"id":"EUVD-2020-7916","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.","status":"published","published":"2020-07-24T20:05:57Z","modified":"2025-02-19T14:35:13Z","cvss":[{"version":"","score":0,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"none"}],"updated_at":"2026-11-02T20:53:27.843209Z"}],"ghsa":[{"id":"GHSA-4fp8-99qh-27p3","title":"Lua through 5.4.0 has a segmentation fault in changedline in ldebug.c (e.g., when called by...","description":"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.","status":"published","published":"2022-05-24T17:24:18Z","modified":"2025-02-19T15:32:11Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T14:59:59.153661Z"}],"nvd":[{"id":"CVE-2020-15945","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.","status":"published","published":"2020-07-24T21:15:34.553Z","modified":"2026-06-17T02:57:28.24Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","level":"low","assessor":"primary"}],"updated_at":"2026-11-02T14:06:10.086163Z"}],"osv":[{"id":"AZL-40818","title":"CVE-2020-15945 affecting package lua for versions less than 5.4.0-1","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.","status":"published","published":"2020-07-24T21:15:34Z","modified":"2026-11-05T05:40:51Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-05T16:41:19.893001Z"},{"id":"AZL-6671","title":"CVE-2020-15945 affecting package lua for versions less than 5.4.3-1","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.","status":"published","published":"2020-07-24T21:15:34Z","modified":"2026-04-21T04:37:56.92214Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:28:08.354547Z"},{"id":"CVE-2020-15945","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.","status":"published","published":"2020-07-24T21:15:34.553Z","modified":"2026-10-20T13:52:31.401486757Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:14.828228Z"},{"id":"DEBIAN-CVE-2020-15945","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.","status":"published","published":"2020-07-24T21:15:34.553Z","modified":"2026-10-26T12:00:43.225252283Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:33.384087Z"},{"id":"JLSEC-2026-554","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.","status":"published","published":"2026-05-26T19:45:06.761Z","modified":"2026-07-25T18:24:37.106320568Z","cvss":[{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","level":"low"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:47:18.573531Z"},{"id":"BIT-lua-2020-15945","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.","status":"published","published":"2024-03-06T10:57:19.502Z","modified":"2026-09-08T08:48:09.122728241Z","updated_at":"2026-11-02T15:28:32.645004Z"},{"id":"openSUSE-SU-2024:11029-1","title":"liblua5_4-5-32bit-5.4.3-4.2 on GA media","description":"These are all security issues fixed in the liblua5_4-5-32bit-5.4.3-4.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:21:54.017651Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"openSUSE-SU-2025:15401-1","title":"liblua5_5-5-5.5.0~beta1-1.1 on GA media","description":"These are all security issues fixed in the liblua5_5-5-5.5.0~beta1-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-08-03T00:00:00Z","modified":"2026-03-23T04:53:43.51161Z","updated_at":"2026-11-02T16:58:37.810934Z"}]}}
