← Back

Lua

lua

15 CVEs • 1 product

Products (1)

Click to collapse
Toggle
Lua
lua

CVEs (15)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Lua
1Lua
Apr 25, 2025
Apr 10, 2023
N/A· v4
7.5 HIGH· v3
N/A· v2
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
2Fedoraproject
Lua
2Fedora
Lua
Nov 21, 2024
Jul 1, 2022
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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.
2Fedoraproject
Lua
2Fedora
Lua
Nov 21, 2024
Apr 8, 2022
N/A· v4
9.1 CRITICAL· v3
6.4 MEDIUM· v2
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 untrusted Lua code.
1Lua
1Lua
Nov 21, 2024
Mar 14, 2022
N/A· v4
6.3 MEDIUM· v3
4.3 MEDIUM· v2
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.
2Fedoraproject
Lua
2Fedora
Lua
Nov 21, 2024
Jan 11, 2022
N/A· v4
5.5 MEDIUM· v3
2.1 LOW· v2
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.
2Fedoraproject
Lua
2Fedora
Lua
Nov 21, 2024
Nov 9, 2021
N/A· v4
5.5 MEDIUM· v3
4.3 MEDIUM· v2
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.
1Lua
1Lua
Nov 21, 2024
Aug 17, 2020
N/A· v4
5.3 MEDIUM· v3
5.0 MEDIUM· v2
lgc.c in Lua 5.4.0 mishandles the interaction between barriers and the sweep phase, leading to a memory access violation involving collectgarbage.
3Debian
FedoraprojectLua
3Debian Linux
FedoraLua
May 5, 2025
Aug 17, 2020
N/A· v4
5.3 MEDIUM· v3
5.0 MEDIUM· v2
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).
1Lua
1Lua
Nov 21, 2024
Aug 17, 2020
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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.
2Fedoraproject
Lua
2Fedora
Lua
Nov 21, 2024
Aug 13, 2020
N/A· v4
7.8 HIGH· v3
6.8 MEDIUM· v2
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.
1Lua
1Lua
Feb 19, 2025
Jul 24, 2020
N/A· v4
5.5 MEDIUM· v3
2.1 LOW· v2
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 contr...Show more
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.Show less
1Lua
1Lua
Nov 21, 2024
Jul 21, 2020
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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.
1Lua
1Lua
Nov 21, 2024
Jul 21, 2020
N/A· v4
8.8 HIGH· v3
6.8 MEDIUM· v2
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.
2Canonical
Lua
2Lua
Ubuntu Linux
Nov 21, 2024
Jan 23, 2019
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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 certain relationships...Show more
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 certain relationships.Show less
5Canonical
DebianLua+2 more
5Debian Linux
LuaMageia+2 more
May 6, 2026
Sep 4, 2014
N/A· v4
N/A· v3
5.0 MEDIUM· v2
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 function with a large nu...Show more
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 function with a large number of fixed arguments.Show less