Hackers have exploited vulnerabilities in Apple’s Safari web browser and the iPhone, iPad, and Mac operating systems, prompting Apple to issue security updates.