"This terrorist attack (is) condemned by Iraq, which has suffered greatly at the hands of terrorist groups," Abadi said in a statement.
"This confirms that terrorism threatens all the countries of the world, and not Iraq alone," he said, calling for "concerted efforts of the international community in fighting it."
The attack by suspected Islamist gunmen on French weekly Charlie Hebdo, killed 12 people including journalists and two policemen.
France has been taking part in US-led air strikes in Iraq against the Islamic State (IS) jihadist group, which has seized swathes of the country and neighbouring Syria.