This first pan-cancer study provides a comprehensive understanding of the multiple roles of APOBEC3B in different tumor types. Here, APOBEC3B is linked to cancer.