{"id":"CVE-2020-24371","details":"lgc.c in Lua 5.4.0 mishandles the interaction between barriers and the sweep phase, leading to a memory access violation involving collectgarbage.","aliases":["BIT-lua-2020-24371"],"modified":"2026-05-18T13:28:36.230132Z","published":"2020-08-17T17:15:13.927Z","related":["SUSE-SU-2021:2196-1","openSUSE-SU-2021:0962-1","openSUSE-SU-2021:2196-1","openSUSE-SU-2024:11028-1","openSUSE-SU-2024:11029-1","openSUSE-SU-2025:15401-1"],"references":[{"type":"FIX","url":"https://github.com/lua/lua/commit/a6da1472c0c5e05ff249325f979531ad51533110"},{"type":"FIX","url":"https://www.lua.org/bugs.html#5.4.0-10"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lua/lua","events":[{"introduced":"0"},{"last_affected":"c33b1728aeb7dfeec4013562660e07d32697aa6b"}],"database_specific":{"cpe":"cpe:2.3:a:lua:lua:5.4.0:-:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"5.4.0-NA"}],"source":"CPE_FIELD"}}],"versions":["v5.4.0","v5.4-beta","v5.4-alpha","v5.3.4","v5.4-w2","v5.3.3","v5.3.2","v5.3.1","v5.3.0","v5.3-beta","v5.3-alpha","v5.2.2","v5.2.1","v5.2.0","v5.2-beta","v5.2-alpha","v5.1.1","v5.1","v5.1-beta","v5.1-alpha","v5.0","v5.0-beta","v5.0-alpha","v4.1-alpha","v4.0","v4.0-beta","v4.0-alpha","v3.2","v3.2-beta","v3.1","v3.1-alpha","v3.0","v3.0-alpha","v2.5.1","v2.5","v2.5-beta","v2.4","v2.4-beta","v2.3-beta","v2.2","v2.1","v1.2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-24371.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}