Apple released iPhone OS 3.1.3 for the iPhone and iPod touch on Tuesday with patches for several potential security flaws.
The update fixes flaws that could lead to arbitrary code execution or app crashes when playing maliciously crafted mp4 files, viewing maliciously crafted TIFF images, and accessing maliciously crafted FTP servers. It also fixes a USB-related issue that could grant access to data on locked iPhones, and fixes an issue where Mail could send unwanted data in certain situations when HTML 5 media elements load.
The update also improved battery level accuracy on the iPhone 3GS, fixed a problem where third party apps might not launch, and fixed a compatibility issue that could cause some apps to crash when using the Japanese Kana keyboard.
iPhone OS 3.1.3 is available to iPhone and iPod touch users that have already installed iPhone OS 3.1.2. The update is free and can be installed through iTunes when your iPhone or iPod touch is connected to your computer.