CVE-2019-6706 EXPLOIT
7.5
HIGH · CVSS 3.1 · EPSS 17.2% (pctl 97)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 7.5 (HIGH, v3.1) |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| EPSS | 17.22% — more likely to be exploited than 97% of all CVEs |
| Weakness | CWE-416 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2019-01-23 |
| Last modified | 2026-06-17 |
Affected (2)
| Vendor | Product |
|---|---|
| canonical | ubuntu linux |
| lua | lua |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | Lua 5.3.5 - 'debug.upvaluejoin' Use After Free | 2019-01-25 |
References
- http://lua-users.org/lists/lua-l/2019-01/msg00039.html
- http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html
- https://access.redhat.com/security/cve/cve-2019-6706
- https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf
- https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e
- https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html
- http://lua-users.org/lists/lua-l/2019-01/msg00039.html
- http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html
- https://access.redhat.com/security/cve/cve-2019-6706
- https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf
- https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e
- https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html
→ the Explorer · watch your stack · NVD