Description
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.
References (6)
Core 6
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/lua/lua/commit/eb41999461b6f428186c55abd95f4ce1a76217d5
Patch, Third Party Advisory x_refsource_misc
https://github.com/lua/lua/commit/6298903e35217ab69c279056f925fb72900ce0b7
Exploit, Mailing List, Third Party Advisory x_refsource_misc
http://lua-users.org/lists/lua-l/2020-07/msg00053.html
Exploit, Mailing List, Third Party Advisory x_refsource_misc
http://lua-users.org/lists/lua-l/2020-07/msg00054.html
Exploit, Mailing List, Third Party Advisory x_refsource_misc
http://lua-users.org/lists/lua-l/2020-07/msg00071.html
Exploit, Mailing List, Third Party Advisory x_refsource_misc
http://lua-users.org/lists/lua-l/2020-07/msg00079.html
Scores
CVSS v3
8.8
EPSS
0.0125
EPSS Percentile
79.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-125
CWE-416
CWE-787
Status
published
Products (1)
lua/lua
5.4.0
Published
Jul 21, 2020
Tracked Since
Feb 18, 2026