Microsoft has published a temporary fix for a new zero-day flaw that affects nearly all versions of Windows and is currently being exploited via PowerPoint.

The flaw affects all Windows releases except Windows Server 2003, the company wrote in an advisory Tuesday. It can be exploited if a user is coaxed into opening a malicious Office file containing an OLE (object linking and embedding) object. OLE can allow a user to edit a PowerPoint file from within a Word document, for example.

"At this time, we are aware of limited, targeted attacks that attempt to exploit the vulnerability through Microsoft PowerPoint," the company said.

A successful attacker would gain the same rights as a logged-in user and could put other programs on an infected computer. Microsoft said some attacks that compromise accounts without administrator rights may pose less of a risk.

Microsoft said attacks could take place via email, with the attacker sending a potential victim a malicious file or by luring a person to a compromised website containing "specially crafted content."

"An attacker would have to persuade the targeted user to visit the website, typically by getting them to click a hyperlink that directs a web browser to the attacker-controlled website," Microsoft wrote.

The User Account Control feature in Windows will display a consent or elevation prompt during an attack, depending on the privileges of the user before the malicious file is run, Microsoft said. UAC is enabled by default on Vista and newer OSes.

Earlier this month, on Patch Tuesday, Microsoft released eight security bulletins, which fixed three zero-day vulnerabilities at the same time, a rare occurrence.