{"id":"CVE-2020-24372","aliases":["DEBIAN-CVE-2020-24372","DLA-4283-1","EUVD-2020-17104","GHSA-cf74-x979-rggp","MGASA-2026-0225","OESA-2021-1057","UBUNTU-CVE-2020-24372"],"status":"published","title":"LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.","description":"LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01542,"percentile":0.75277,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2020-08-17T16:05:57Z","modified":"2026-10-26T12:00:38Z","fixes":[{"ecosystem":"Debian:12","package":"luajit","fixed_in":["2.1.0~beta3+git20210112+dfsg-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"luajit","fixed_in":["2.1.0~beta3+git20210112+dfsg-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"luajit","fixed_in":["2.1.0~beta3+git20210112+dfsg-2"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS","package":"luajit","fixed_in":["2.1.0-2.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP1","package":"luajit","fixed_in":["2.1.0-2.oe1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0~beta3+git20210112+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0~beta3+git20210112+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0~beta3+git20210112+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0~beta3+dfsg-5.3+deb11u1"}]}],"versions":["2.1.0~beta3+dfsg-5.3"],"bundled":6},{"source":"osv","ecosystem":"Mageia:9","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-0.beta3.10.1.mga9"}]}],"bundled":5},{"source":"osv","ecosystem":"openEuler:20.03-LTS","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-2.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-2.oe1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.2+dfsg-1","2.0.2+dfsg-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.4+dfsg-1","2.0.4+dfsg-1+deb9u1build0.16.04.1","2.0.4+dfsg-1+deb9u1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.4+dfsg-1","2.1.0~beta3+dfsg-5","2.1.0~beta3+dfsg-5.1","2.1.0~beta3+dfsg-5.1ubuntu0.18.04.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0~beta3+dfsg-5.1","2.1.0~beta3+dfsg-5.1build1","2.1.0~beta3+dfsg-5.1ubuntu0.20.04.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0~beta3+dfsg-6","2.1.0~beta3+dfsg-6ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0~beta3+git20220320+dfsg-4.1","2.1.0+git20231223.c525bcb+dfsg-1~build1","2.1.0+git20231223.c525bcb+dfsg-1","2.1.0+git20231223.c525bcb+dfsg-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0+openresty20250117-2","2.1.0+openresty20250117-2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0+openresty20251030-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"luajit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0+openresty20250117-2ubuntu1","2.1.0+openresty20251030-1"]}],"products":[{"vendor":"luajit","product":"luajit"}],"references":[{"url":"https://github.com/LuaJIT/LuaJIT/issues/603","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00022.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-24372","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-cf74-x979-rggp"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-24372","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0225.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=34491","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XU3NWLH45W4F7OBKEB4XEOJQI4S36PU5/","tags":["web"]},{"url":"https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1057","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-24372","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-24372","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-24372","description":"LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.","status":"published","published":"2020-08-17T16:05:57Z","modified":"2025-11-03T18:07:57.766Z","updated_at":"2026-11-02T14:35:54.468882Z"}],"euvd":[{"id":"EUVD-2020-17104","description":"LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.","status":"published","published":"2020-08-17T16:05:57Z","modified":"2025-11-03T18:07:57Z","updated_at":"2026-11-02T19:49:35.000596Z"}],"ghsa":[{"id":"GHSA-cf74-x979-rggp","title":"LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.","description":"LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.","status":"published","published":"2022-05-24T17:26:02Z","modified":"2025-11-03T21:31:35Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:04:18.722049Z"}],"nvd":[{"id":"CVE-2020-24372","description":"LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.","status":"published","published":"2020-08-17T17:15:13.987Z","modified":"2026-06-17T03:05:27.067Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:06:13.05572Z"}],"osv":[{"id":"CVE-2020-24372","description":"LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.","status":"published","published":"2020-08-17T17:15:13.987Z","modified":"2026-10-20T10:52:50.626195216Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:15.879068Z"},{"id":"DEBIAN-CVE-2020-24372","description":"LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.","status":"published","published":"2020-08-17T17:15:13.987Z","modified":"2026-10-26T12:00:38.23227044Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:33.729655Z"},{"id":"OESA-2021-1057","title":"luajit security update","description":"LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language. Lua is a powerful, dynamic and light-weight programming language. It may be embedded or used as a general-purpose, stand-alone language.\r\n\r\nSecurity Fix(es):\r\n\r\nLuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.(CVE-2020-24372)","status":"published","published":"2021-03-05T11:04:17Z","modified":"2026-08-18T01:15:16.817349058Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:38.987987Z"},{"id":"UBUNTU-CVE-2020-24372","description":"LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.","status":"published","published":"2020-08-17T17:15:00Z","modified":"2026-10-17T12:55:52.449530941Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:23.905183Z"},{"id":"DLA-4283-1","title":"luajit - security update","status":"published","published":"2025-08-25T00:00:00Z","modified":"2026-03-09T02:09:10.584174Z","updated_at":"2026-11-02T15:46:12.7027Z"},{"id":"MGASA-2026-0225","title":"Updated luajit packages fix security vulnerabilities","description":"In LuaJIT through 2.0.5, as used in Moonjit before 2.1.2 and other\nproducts, debug.getinfo has a type confusion issue that leads to\narbitrary memory write or read operations, because certain cases\ninvolving valid stack levels and \u003e options are mishandled.\n(CVE-2019-19391)\nLuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in\nlj_err.c. (CVE-2020-24372)\nLuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240626 have a\nstack-buffer-overflow in lj_strfmt_wfnum in lj_strfmt_num.c.\n(CVE-2024-25176)\nLuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an\nunsinking of IR_FSTORE for NULL metatable, which leads to Denial of\nService (DoS). (CVE-2024-25177)\nLuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an\nout-of-bounds read in the stack-overflow handler in lj_state.c.\n(CVE-2024-25178)\n","status":"published","published":"2026-06-18T21:28:22Z","modified":"2026-06-18T21:30:04.565170803Z","updated_at":"2026-11-02T15:49:43.795591Z"}]}}
