Microsoft has announced a flaw in most versions of the Windows OS that could allow attackers to run malicious code. A security patch has been released to address the issue.