Authorities say five inmates were seriously injured when fights broke out at a state prison on Arizona's southern border.