The MPEG-4 video codec in Apple iPhone OS 1.0 through 2.2.1 and iPhone OS for iPod touch 1.1 through 2.2.1 allows remote attackers to cause a denial of service (device reset) via a crafted MPEG-4 video file that triggers an "input validation issue."
https://exchange.xforce.ibmcloud.com/vulnerabilities/51211
http://www.vupen.com/english/advisories/2009/1621
http://www.securityfocus.com/bid/35433
http://www.securityfocus.com/bid/35414
http://support.apple.com/kb/HT3639
http://lists.apple.com/archives/security-announce/2009/Jun/msg00005.html