Security forces have launched major operations against militants in recent weeks that are said to have resulted in scores of arrests, including 12 people detained today on suspicion of planning a massive assault on Abu Ghraib prison outside Baghdad last month.
But they have yet to curb a surge in violence that has killed more than 3,400 people this year.
In the deadliest attack today, a car bomb exploded after midday prayers at a Shiite place of worship in Al-Zahraa, south of the capital, killing four people and wounding 14.
In the northern province of Kirkuk, a car bomb killed three police.
Also Read
In Salaheddin province, also north of Baghdad, bombers killed a soldier, an anti-Qaeda militiaman and two civilians.
And in Nineveh province, in the north, gunmen shot dead a former soldier and a civilian.
Militants in the province also bombed the main oil pipeline from northern Iraq to Turkey, near the town of Albu Jahash.
Repairs to the pipeline, which runs from the northern oil hub of Kirkuk to the port of Ceyhan in Turkey and has been hit by dozens of attacks this year, are expected to take between one and three days, the official said.
The attacks came a day after bombs targeting a cafe, a football field and a market killed 28 people north of Baghdad.
Security forces arrested 12 people suspected of involvement in the July 21 assault on Abu Ghraib prison, two of them among the hundreds of inmates who escaped, an official in Iraq's Counter-Terrorism Service said.
Authorities have hit back with a string of major security operations -- among the largest since US forces departed in December 2011.