Pakistan has arrested five suspected al Qaeda militants planning an attack on security personnel, authorities in the eastern state of Punjab said on Friday.