{"id":"BIT-lua-2020-15945","details":"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.","aliases":["CVE-2020-15945"],"modified":"2026-09-08T08:48:09.122728241Z","published":"2024-03-06T10:57:19.502Z","database_specific":{"cpes":["cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"ADVISORY","url":"http://lua-users.org/lists/lua-l/2020-07/msg00123.html"},{"type":"ADVISORY","url":"https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3"},{"type":"WEB","url":"https://www.lua.org/bugs.html#5.4.0-8"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15945"}],"affected":[{"package":{"name":"lua","ecosystem":"Bitnami","purl":"pkg:bitnami/lua"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.3.1"},{"fixed":"5.4.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/lua/BIT-lua-2020-15945.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}],"schema_version":"1.9.0"}