Both new vulnerabilities are "remote code execution" flaws, allowing attackers to execute code on impacted systems.
Windows Codecs Library vulnerability
The first bug is tracked as CVE-2020-17022. Microsoft says that attackers can craft malicious images that, when processed by an app running on top of Windows, can allow the attacker to execute code on an unpatched Windows OS.
All Windows 10 versions are impacted.
Microsoft said an update for this library would be automatically installed on user systems via the Microsoft Store.
Not all users are impacted, but only those who have installed the optional HEVC or "HEVC from Device Manufacturer" media codecs from Microsoft Store.
HEVC is not available for offline distribution and is only available via the Microsoft Store. The library is also not supported on Windows Server.
To check and see if you're using a vulnerable HEVC codec, users can go to Settings, Apps & Features, and select HEVC, Advanced Options. The secure versions are 1.0.32762.0, 1.0.32763.0, and later.
Visual Studio Code vulnerability
The second bug is tracked as CVE-2020-17023. Microsoft says attackers can craft malicious package.json files that, when loaded in Visual Studio Code, can execute malicious code.
Depending on the user's permissions, an attacker's code could execute with administrator privileges and allow them full control over an infected host.
Visual Studio Code users are advised to update the app as soon as possible to the latest version.
Windows 10 apps: Which are worth keeping? Which ones should you dump?