Apple has updated iOS for the iPhone, iPod touch and iPad. The new versions are designed to fix a vulnerability in the way Safari handles PDF files on the idevices.

The updates should also disable the web-based JailbreakMe service. The new versions are iOS 4.0.2 for the iPhone and iPod touch and iOS 3.2.2 for the iPad.