In a statement provided to The Verge, Apple says that hackers infected a "small number" of its computers in an attack that exploited a Java vulnerability. As Reuters originally reported, the company says "there was no evidence that any data left Apple," and no user information is said to have been compromised. Apple says the rare security breach utilized the same malware that was recently used to target Facebook and other companies. Despite being a high-profile target, the situation is highly unusual for Apple, and the company says it is working with law enforcement to track down those responsible.

"Apple has identified malware which infected a limited number of Mac systems through a vulnerability in the Java plug-in for browsers," the company said in its statement. "The malware was employed in an attack against Apple and other companies, and was spread through a website for software developers. We identified a small number of systems within Apple that were infected and isolated them from our network."

"There was no evidence that any data left Apple."

Apple plans to release a software tool today to protect customers against malware used in the attack against it and Facebook.

The attack on Apple is just the latest in a string of cyber attacks that have targeted companies, publications, and government agencies in the US. Last week, Facebook admitted that its systems were targeted by a "sophisticated attack" last month after a handful of employees visited a compromised mobile developer website. Facebook said it had discovered no evidence that user data had been compromised. Similar attacks have recently targeted The Wall Street Journal, The New York Times, and Twitter.

Apple declined to comment further on the situation. The company's full statement can be read below: