Immune-infiltration analysis suggested tumor-type-specific interactions between CDKN2A expression and immune cell subsets.<h4>Conclusions</h4>CDKN2A exhibits strong diagnostic performance in HPV-associated cervical cancer and moderate, cohort-dependent discriminatory ability in endometrial carcinoma. The gene discussed is CDKN2A; the disease is neoplasm.