Skip to content
Memory corruption Advisory Advanced CVE-2020-1585

Microsoft Windows Codecs Library Remote Code Execution Vulnerability (CVE-2020-1585)

A remote code execution vulnerability exists in the way Microsoft Windows Codecs Library handles objects in memory. An attacker could exploit this by having a program process a specially crafted image file, potentially taking control of the affected system.

Abdul-Aziz Hariri Follow

Originally disclosed on Microsoft

Critical 8.8 View original

Description

A remote code execution vulnerability exists in the way that Microsoft Windows Codecs Library handles objects in memory. An attacker who successfully exploited this vulnerability could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Exploitation of the vulnerability requires that a program process a specially crafted image file. The update addresses the vulnerability by correcting how Microsoft Windows Codecs Library handles objects in memory.

FAQ

How does a user know if the update has been installed? You can check the version of the installed package. For example, click on Settings, Apps & Features and select AV1 Video Extension, Advanced Options . You will see the version there. The secure versions are 1.1.31753.0 and later.

FAQ

Is Windows vulnerable in the default configuration? Only customers who have installed the optional "AV1 Video Extension" media codec from Microsoft Store may be vulnerable. How do I get the updated Windows Media Codec? Affected customers will be automatically updated by Microsoft Store. Customers do not need to take any action to receive the update. Alternatively, customers who want to receive the update immediately can check for updates with the Microsoft Store App; more information on this process can be found here . Why are these security updates offered to affected clients via the Microsoft Store and not Windows Update? These updates are for optional apps/components that are offered to customers as a download via the Microsoft Store. Updates for optional store apps/components are provided via the Microsoft Store. My server is in a disconnected environment, is it vulnerable? AV1 is not available for offline distribution and not supported on Windows Server. Users should not have it installed in these environments. Enterprise customers using Store for Business will receive the update in the same manner as consumer Store. Why are these updates being offered outside of Update Tuesday? Servicing for store apps/components does not follow the monthly “Update Tuesday” cadence, but are offered whenever necessary. Are these updates for Microsoft store apps/components offered automatically when an affected component is on the system? Yes. However, it is possible to turn off automatic updating for store apps. In that scenario, these updates would not be installed automatically. How can I check from PowerShell if the update is installed? The following command will display the version of the installed package: Get-AppxPackage -Name Microsoft.AV1VideoExtension*

Microsoft Windows Codecs Library

Microsoft Windows Codecs Library

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Abdul-Aziz Hariri of Trend Micro Zero Day Initiative. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a memory handling error in the Windows Codecs Library when processing specially crafted image files.

Impact

An attacker who successfully exploited this vulnerability could take control of the affected system, but only customers who have installed the optional AV1 Video Extension may be vulnerable.

What the attacker needed

Optional AV1 Video Extension installed

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a security flaw in a Windows component that processes image files. If a program opens a maliciously crafted image, an attacker could run their own code on the computer, potentially taking it over. Only users who installed an optional video codec from the Microsoft Store are affected.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Abdul-Aziz Hariri

View all

26 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.