Lua vulnerabilities
15 CVEs affecting Lua, 0 known to be exploited (CISA KEV), with EPSS scores. Latest: CVE-2021-45985, published 2023-04-10.
More from Lua.
Highest priority
Known exploited (CISA KEV) first, then by EPSS exploit probability.
- CVE-2019-6706, published 2019-01-23. High severity, CVSS 7.5. EPSS: 17% probability of exploitation activity in the next 30 days. Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example, a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have…
- CVE-2014-5461, published 2014-09-04. Medium severity, CVSS 5.0. EPSS: 12% probability of exploitation activity in the next 30 days. Buffer overflow in the vararg functions in ldo.c in Lua 5.1 through 5.2.x before 5.2.3 allows context-dependent attackers to cause a denial of service (crash) via a small number of arguments to a…
- CVE-2020-24370, published 2020-08-17. Medium severity, CVSS 5.3. EPSS: 3.8% probability of exploitation activity in the next 30 days. ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).
- CVE-2022-28805, published 2022-04-08. Critical severity, CVSS 9.1. EPSS: 2.6% probability of exploitation activity in the next 30 days. singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles…
- CVE-2020-15888, published 2020-07-21. High severity, CVSS 8.8. EPSS: 2.4% probability of exploitation activity in the next 30 days. Lua through 5.4.0 mishandles the interaction between stack resizes and garbage collection, leading to a heap-based buffer overflow, heap-based buffer over-read, or use-after-free.
- CVE-2022-33099, published 2022-07-01. High severity, CVSS 7.5. EPSS: 2.4% probability of exploitation activity in the next 30 days. An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.
- CVE-2020-15889, published 2020-07-21. Critical severity, CVSS 9.8. EPSS: 2.2% probability of exploitation activity in the next 30 days. Lua 5.4.0 has a getobjname heap-based buffer over-read because youngcollection in lgc.c uses markold for an insufficient number of list members.
- CVE-2020-24371, published 2020-08-17. Medium severity, CVSS 5.3. EPSS: 1.7% probability of exploitation activity in the next 30 days. lgc.c in Lua 5.4.0 mishandles the interaction between barriers and the sweep phase, leading to a memory access violation involving collectgarbage.
- CVE-2020-24369, published 2020-08-17. High severity, CVSS 7.5. EPSS: 1.7% probability of exploitation activity in the next 30 days. ldebug.c in Lua 5.4.0 attempts to access debug information via the line hook of a stripped function, leading to a NULL pointer dereference.
- CVE-2021-45985, published 2023-04-10. High severity, CVSS 7.5. EPSS: 1.4% probability of exploitation activity in the next 30 days. In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
Latest
- CVE-2021-44964, published 2022-03-14. Medium severity, CVSS 6.3. EPSS: 1.0% probability of exploitation activity in the next 30 days. Use after free in garbage collector and finalizer of lgc.c in Lua interpreter 5.4.0~5.4.3 allows attackers to perform Sandbox Escape via a crafted script file.
- CVE-2021-44647, published 2022-01-11. Medium severity, CVSS 5.5. EPSS: 0.5% probability of exploitation activity in the next 30 days. Lua v5.4.3 and above are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service.
- CVE-2021-43519, published 2021-11-09. Medium severity, CVSS 5.5. EPSS: 1.2% probability of exploitation activity in the next 30 days. Stack overflow in lua_resume of ldo.c in Lua Interpreter 5.1.0~5.4.4 allows attackers to perform a Denial of Service via a crafted script file.
- CVE-2020-24342, published 2020-08-13. High severity, CVSS 7.8. EPSS: 1.1% probability of exploitation activity in the next 30 days. Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row.