Islamabad, Pakistan (CNN) -- Blasts in three cities across Pakistan occurred within minutes of each other on Tuesday, killing at least five people and wounding dozens, officials said.
In the first incident, a suspected suicide bomber detonated himself on a deserted road on the outskirts of the northeastern city of Gujrat, police said.
"It seems like he may have set the bomb off by mistake," said police official Mudassar Ali.
Minutes later, a second blast went off in a bustling market area in Peshawar in northwest Pakistan. The bomb was placed on a motorcycle in the basement of a commercial building, police said. It killed one and injured 23.
In the third incident, a car bomb exploded in a busy market area in a Landi Kotal, a town in Pakistan's tribal Khyber Agency, said Abdul Nabi, a government official.
Four people died and eight were injured in the explosion, said Nabi.
The Pakistan Taliban claimed responsibility for the blasts in Peshawar and Landi Kotal, a spokesman for the group, Insanullah Ihsan, told CNN.
A militant group called the Abdullah Azzam Bridgade worked with the Pakistan Taliban on the Landi Kotal attack, Ihsan said.
Journalists Saboor Khattak and Shaan Khan contributed to this report.