Adobe has patched a critical zero-day security flaw in Flash, which the company said was being used to launch "limited, targeted attacks."
The emergency patch, which also fixed two other vulnerabilities, landed on Friday, sooner than the company's forecast of some time this week.
The patch updates Flash for Windows and OS X to version 18.104.22.168, and version 22.214.171.1240 for Linux.
Trend Micro researcher Peter Pi, who was credited with discovering the vulnerability, said in a blog post Friday that Russian hackers had used the flaw to target foreign affairs ministries by sending spearphishing emails that contained links to webpages hosting the exploit.
From there, hackers could remotely execute code on a target machine, potentially taking over the affected system.
Google's Project Zero was also credited with the vulnerability's discovery.
The company recommended that users update immediately. Users of Google Chrome, Internet Explorer 10 and 11, and Microsoft Edge browser will receive the update automatically.
How to disable Adobe Flash on Windows, Mac