Lung cancer mortality risk increased with active or past smoking, heterosexual contact as transmission route, and CD4 counts < 500/μL; liver cancer mortality was associated with injected drugs or heterosexual contact as transmission route. Here, CD4 is linked to liver cancer.