An apparent 'ransomware' attack is happening all across the planet.

FOX's Jessica Rosenthal reports:

The attack has impacted businesses here in the U.S. FedEx reported it was recovering from an attack on its windows based system. British Prime Minister Theresa May confirmed the attack caused widespread disruption at hospitals.

A Russian mobile communications company says it was affected as have Romanian and Spanish government officials. The attack used 'ransomware' which blocks people from their computers until they pay.

In this case it's a demand for payment in the digital currency bitcoin. The software used to carry out this attack was apparently a leaked NSA tool to exploit an aspect of Microsoft systems. Microsoft says they had rolled out a patch for this in March.

Jessica Rosenthal, FOX News.

Follow Jessica Rosenthal on Twitter: @JessicaFOXNews