Microsoft has confirmed a new critical security threat in all versions of the Windows operating system.