Apple has released iOS 4.0.2 for iPhone and iOS 3.2.2 for iPad. This fixes a vulnerability with a user viewing a maliciously crafted PDF that allowed for code to be arbitrarily executed.
Make sure to update your iOS as soon as possible!
Apple support article for iPhone/iPod iOS 4.0.2 update- http://support.apple.com/kb/HT4291
Apple support article for iPad iOS 3.2.2 – http://support.apple.com/kb/HT4292
Joe


[...] This post was mentioned on Twitter by Georges Duplessy, CyberCrime101. CyberCrime101 said: Apple releases updates for iPhone/iPod & iPad PDF Vulnerability: http://is.gd/edA61 [...]