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.
CVE-2019-6706
Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2022-05-13. NVD baseline CVSS 7.5; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5HIGHmedium confidence
- EG Risk
- 54EG Risk 54/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation40% × 40%Automatability30% × 15%CISA SSVC: Track at low or medium mission impact; Track* or Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 17%
- EPSS %ILE
- 97th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track* or Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation public PoC (EG-KEV: elevated) · Automatable unknown (not published for this CVE) · Technical impact partial (CVSS below 9.0). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
January 23, 2019
Last Modified
November 21, 2024
References (12)
- cve@mitrehttp://lua-users.org/lists/lua-l/2019-01/msg00039.html
- cve@mitrehttp://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html
- cve@mitrehttps://access.redhat.com/security/cve/cve-2019-6706
- cve@mitrehttps://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf
- cve@mitrehttps://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e
- cve@mitrehttps://lists.debian.org/debian-lts-announce/2023/06/msg00031.html
- af854a3a-2127-422b-91ae-364da2661108http://lua-users.org/lists/lua-l/2019-01/msg00039.html
- af854a3a-2127-422b-91ae-364da2661108http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/security/cve/cve-2019-6706
- af854a3a-2127-422b-91ae-364da2661108https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf
- af854a3a-2127-422b-91ae-364da2661108https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html
Vendor Advisories for CVE-2019-6706(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(2)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | lua5.3 (5.3.1-1ubuntu2.1) @ xenial | 2026-05-27 | ubuntu |
| redhat | lua-0:5.3.4-11.el8 | 2019-11-05 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(35 across 24 ecosystems)
Alpine:v3.14(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
| lua5.4 | — |
| — |
Alpine:v3.15(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
| lua5.4 | — |
| — |
Alpine:v3.16(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
| lua5.4 | — |
| — |
Alpine:v3.17(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
| lua5.4 | — |
| — |
Alpine:v3.18(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
| lua5.4 | — |
| — |
Alpine:v3.19(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
| lua5.4 | — |
| — |
Alpine:v3.20(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
| lua5.4 | — |
| — |
Alpine:v3.21(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
| lua5.4 | — |
| — |
Alpine:v3.22(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
| lua5.4 | — |
| — |
Alpine:v3.23(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
| lua5.4 | — |
| — |
Alpine:v3.24(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
| lua5.4 | — |
| — |
Alpine:v3.10(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
Alpine:v3.11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
Alpine:v3.12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
Alpine:v3.13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
Alpine:v3.6(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
Alpine:v3.7(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
Alpine:v3.8(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
Alpine:v3.9(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
Debian:10(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | 5.3.3-1.1 |
| — |
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | 5.3.3-1.1 |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lua5.3 | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(2)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 4× in last 7d / 25× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 150 total refreshes for this CVE.
- 2026-10-05 17:39 UTCEPSS rescore
- 2026-10-03 14:22 UTCEPSS rescore
- 2026-09-30 14:59 UTCEPSS rescore
- 2026-09-30 10:27 UTCEG score recompute
- 2026-09-28 14:12 UTCOSV refresh
- 2026-09-28 13:46 UTCEPSS rescore
- 2026-09-27 13:40 UTCEPSS rescore
- 2026-09-26 15:54 UTCEPSS rescore
- 2026-09-26 00:20 UTCEPSS rescore
- 2026-09-24 13:59 UTCEPSS rescore
- 2026-09-22 14:43 UTCEPSS rescore
- 2026-09-21 20:28 UTCEPSS rescore
- 2026-09-20 20:11 UTCEPSS rescore
- 2026-09-19 15:37 UTCEPSS rescore
- 2026-09-18 19:23 UTCEPSS rescore
- 2026-09-17 19:22 UTCEPSS rescore
- 2026-09-16 14:04 UTCEPSS rescore
- 2026-09-15 03:06 UTCEPSS rescore
- 2026-09-13 16:42 UTCEPSS rescore
- 2026-09-12 14:56 UTCEPSS rescore
- 2026-09-11 14:48 UTCEPSS rescore
- 2026-09-11 09:32 UTCEPSS rescore
- 2026-09-08 21:55 UTCEPSS rescore
- 2026-09-08 18:34 UTCOSV refresh
- 2026-09-06 13:44 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-05 15:24 UTCEPSS rescore
- 2026-09-04 13:56 UTCEPSS rescore
- 2026-09-02 14:08 UTCEPSS rescore
- 2026-09-01 03:32 UTCEPSS rescore
- 2026-08-30 01:18 UTCEPSS rescore
- 2026-08-27 14:21 UTCEPSS rescore
- 2026-08-26 14:42 UTCEPSS rescore
- 2026-08-25 13:45 UTCEPSS rescore
- 2026-08-22 03:07 UTCOSV refresh
- 2026-08-19 17:00 UTCEPSS rescore
- 2026-08-18 13:44 UTCEPSS rescore
- 2026-08-15 01:26 UTCEPSS rescore
- 2026-08-13 21:57 UTCEPSS rescore
- 2026-08-12 13:47 UTCEPSS rescore
- 2026-08-08 16:33 UTCEPSS rescore
- 2026-08-07 16:23 UTCEPSS rescore
- 2026-08-06 07:21 UTCOSV refresh
- 2026-08-05 19:13 UTCEPSS rescore
- 2026-08-04 15:05 UTCEPSS rescore
- 2026-08-03 10:32 UTCEPSS rescore
- 2026-08-02 02:23 UTCEPSS rescore
- 2026-08-01 04:12 UTCEPSS rescore
- 2026-07-30 16:24 UTCEPSS rescore
- 2026-07-28 15:32 UTCEPSS rescore
- 2026-07-26 14:51 UTCEPSS rescore
- 2026-07-25 14:14 UTCEPSS rescore
- 2026-07-24 14:14 UTCEPSS rescore
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:46 UTCEG score recompute
- 2026-07-22 22:28 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 23:32 UTCOSV refresh
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 01:57 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-08 15:11 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-03 18:56 UTCOSV refresh
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-46246First seen Jan 25, 2019
Lua 5.3.5 - 'debug.upvaluejoin' Use After Free
Open source ↗
Related CVEs(same product + same CWE)
Same product
2 shownAlpine:v3.14:lua5.4 · Debian:10:lua5.3
Frequently asked(5)
What is CVE-2019-6706?
When was CVE-2019-6706 disclosed?
Is CVE-2019-6706 actively exploited?
What is the CVSS score of CVE-2019-6706?
How do I remediate CVE-2019-6706?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2019-6706
Is Your Infrastructure Affected by CVE-2019-6706?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.