Description
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.
Exploits (1)
exploitdb
WRITEUP
by Fady Mohammed Osman · textdosmultiple
https://www.exploit-db.com/exploits/46246
References (6)
Core 6
Core References
Mailing List mailing-list
https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html
Exploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html
Third Party Advisory
https://access.redhat.com/security/cve/cve-2019-6706
Exploit, Third Party Advisory
https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf
Patch, Third Party Advisory
https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e
Scores
CVSS v3
7.5
EPSS
0.0090
EPSS Percentile
75.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-416
Status
published
Products (4)
canonical/ubuntu_linux
16.04
canonical/ubuntu_linux
18.04
canonical/ubuntu_linux
18.10
lua/lua
5.3.5
Published
Jan 23, 2019
Tracked Since
Feb 18, 2026