CVE-2019-6706
Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 17.4%, higher than 97% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 17.36% probability · 97th percentile
- Public exploits
- 1 in Exploit-DB · first 25 January 2019
- CISA KEV
- Not listed
- Weakness
- CWE-416
- Affected
- lua/lua · canonical/ubuntu linux
- Source
- cve@mitre.org
EPSS 17.4% since 3 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://lua-users.org/lists/lua-l/2019-01/msg00039.htmlBroken Link
- http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.htmlExploit, Third Party Advisory, VDB Entry
- https://access.redhat.com/security/cve/cve-2019-6706Third Party Advisory
- https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdfExploit, Third Party Advisory
- https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71ePatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html
- http://lua-users.org/lists/lua-l/2019-01/msg00039.htmlBroken Link
- http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.htmlExploit, Third Party Advisory, VDB Entry
- https://access.redhat.com/security/cve/cve-2019-6706Third Party Advisory
- https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdfExploit, Third Party Advisory
- https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71ePatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.