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

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

The Microsoft Windows Codecs Library mishandled objects in memory when processing a specially crafted image file. An attacker could exploit this to obtain information that could further compromise the user's system.

Abdul-Aziz Hariri Follow

Originally disclosed on Microsoft

Critical 7.3 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 obtain information to further compromise the user’s system. 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

Is Windows vulnerable in the default configuration? No. Only customers who have installed the optional HEVC or "HEVC from Device Manufacturer" media codecs 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? HEVC 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.HEVCVideoExtension*

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 HEVC, Advanced Options . You will see the version there. The secure versions are 1.0.31822.0, 1.0.31823.0, and later.

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's 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 parsing a crafted image file.

Impact

An attacker could obtain information to further compromise the user's system, but only if the optional HEVC codec is installed.

What the attacker needed

Optional HEVC codec installed; program processes a crafted image file

The fix

The vulnerability was fixed by correcting how the library handles objects in memory, and the update is delivered automatically through the Microsoft Store.

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 flaw in a Windows component that reads image files. If a program opens a malicious image, the flaw could let an attacker access information that helps them do more damage. Only people who installed an optional video codec are at risk.

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

1 more disclosed report, 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.