Congiuntivo passato = aux in cong. presente + past participle. With avere, the past participle never changes form regardless of the subject's gender or number.
Congiuntivo Passato — Formation with avere (Group 1)1 / 10
Temo che il medico ___ (prescrivere) una cura sbagliata.