The severe acute respiratory syndrome coronavirus type 2 (SARS-CoV-2), also referred to as COVID-19, has spread to several countries and caused a serious threat to human health worldwide. Patients with confirmed COVID-19 infection spread the disease rapidly throughout the region. Multiple myeloma (MM) and diffuse large B-cell lymphoma (DLBCL) are risk factors for COVID-19, although the molecular mechanisms underlying the relationship among MM, DLBCL, and COVID-19 have not been elucidated so far. In this context, transcriptome analysis was performed in the present study to identify the shared pathways and molecular indicators of MM, DLBCL, and COVID-19, which benefited the overall understanding of the effect of COVID-19 in patients with MM and DLBCL. Three datasets (GSE16558, GSE56315, and GSE152418) were downloaded from the Gene Expression Omnibus (GEO) and searched for the shared differentially expressed genes (DEGs) in patients with MM and DLBCL who were infected with SARS-CoV-2. The objective was to detect similar pathways and prospective medicines. A total of 29 DEGs that were common across these three datasets were selected. A protein-protein interaction (PPI) network was constructed using data from the STRING database followed by the identification of hub genes. In addition, the association of MM and DLBCL with COVID-19 infection was analyzed through functional analysis using ontologies terms and pathway analysis. Three relationships were observed in the evaluated datasets: transcription factor-gene interactions, protein-drug interactions, and an integrated regulatory network of DEGs and miRNAs with mutual DEGs. The findings of the present study revealed potential pharmaceuticals that could be beneficial in the treatment of COVID-19.