The update patches an issue that might lead to a “sophisticated attack,” according to Apple.