In general, international recognition of copyright is governed by the Berne Convention: if you publish your work in a country that has signed the Berne Convention, it's protected in all other signatory countries. There are other treaties (Universal Copyright Convention, TRIPS, WIPO Copyright Treaty), but in general, a signatory to one of these is also a signatory to Berne.
Specific cases I'm aware of where you can't enforce the GPL:
There may be others; see Wikipedia's list of parties to international copyright agreements for countries that haven't signed any of the large-scale agreements.
In the case of Iran, you may be able to get your software protected by having an Iranian contributor copyright it locally, but doing so may expose you to other legal issues you'd rather avoid.