Buffer overflow in ImageIO in Apple iOS before 4.1 on the iPhone and iPod touch allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via a crafted GIF file.
https://exchange.xforce.ibmcloud.com/vulnerabilities/61697
http://support.apple.com/kb/HT4334
http://lists.apple.com/archives/security-announce/2010//Sep/msg00002.html