CVE-2019-6706
mediumpriority · attend · 46EPSS 0.174 · 97 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- EDB-46246Lua 5.3.5 - 'debug.upvaluejoin' Use After FreePoC · exploit_db
affected products (14)
Products and version ranges known to be affected.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (27)
External citations — patches, advisories, analysis.
- http://lua-users.org/lists/lua-l/2019-01/msg00039.htmlcnnvd
- http://lua.2524044.n2.nabble.com/Bug-Report-Use-after-free-in-debug-upvaluejoin-tc7685506.htmlcnnvd
- https://access.redhat.com/errata/RHSA-2019:3706cnnvd
- https://access.redhat.com/security/cve/cve-2019-6706cnnvd
- https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdfcnnvd
- https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71ecnnvd
- https://lists.debian.org/debian-lts-announce/2023/06/msg00031.htmlcnnvd
- https://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan