Last week Apple had released iOS 9.3.5 security update for iPhone, iPad and iPod touch to fix a serious security exploit.
The security exploit was being used to obtain, or otherwise expose, a variety of different secure elements on a person’s iPhone, including their text messages, contacts, emails, and even phone call information via a sophisticated jailbreak and malware attack. According to reports, the exploit was being used to track journalists, as well as other individuals.
It looks like iOS devices were not the ones vulnerable to the security flaw. Apple has released a security update for OS X El Capitan (Security Update 2006-001) and OS X Yosemite (Security Update 2006-005) to fix the same security vulnerability in Macs.
— citizen lab (@citizenlab) September 1, 2016
The update is available to all OS X Yosemite and El Capitan users via the Mac App Store. Apple has also released an update for Safari (v9.1.3) to fix vulnerabilities in Safari browser. We would strongly recommend you to install the security updates as soon as possible.