(CNN) -- A suicide car bomb exploded outside a military housing unit in northwest Pakistan, killing six Pakistani soldiers and wounding 12, a senior police official told CNN.
The car rammed into a house in the city of Bannu that is used by Pakistani soldiers to rest and relax, said the police chief, Gul Syed Afridi.
About 100 soldiers were at the house at the time of the explosion, he said.
The attack comes as Pakistan's military is under fire by Prime Minister Yousuf Raza Gilani for what he says he believes are military plots to topple the government.
The Pakistani military has denied Gilani's claims.
Journalist Saboor Khattack contributed to this report.