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

Windows Camera Codec Pack Remote Code Execution Vulnerability (CVE-2020-16967)

The Windows Camera Codec Pack improperly handles objects in memory, allowing an attacker to run arbitrary code in the context of the current user. Exploitation requires the user to open a specially crafted file.

Hossein Lotfi Follow

Originally disclosed on Microsoft

Critical 7.8 View original

Description

A remote code execution vulnerability exists when the Windows Camera Codec Pack improperly handles objects in memory. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker 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. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. Exploitation of the vulnerability requires that a user open a specially crafted file with an affected version of the Windows Camera Codec Pack. In an email attack scenario, an attacker could exploit the vulnerability by sending the specially crafted file to the user and convincing the user to open the file. In a web-based attack scenario, an attacker could host a website (or leverage a compromised website that accepts or hosts user-provided content) containing a specially crafted file designed to exploit the vulnerability. An attacker would have no way to force users to visit the website. Instead, an attacker would have to convince users to click a link, typically by way of an enticement in an email or instant message, and then convince them to open the specially crafted file. The security update addresses the vulnerability by correcting how the Windows Camera Codec Pack handles objects in memory.

Microsoft Windows Codecs Library

Microsoft Windows Codecs Library

Issuing CNA

Microsoft

The original report as published on the Microsoft Security Response Center, by Hossein Lotfi 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 corruption flaw in how the Windows Camera Codec Pack processes specially crafted files.

Impact

An attacker could run arbitrary code as the current user, and if that user has administrative rights, could take control of the system.

What the attacker needed

User opens a specially crafted file; affected Windows Camera Codec Pack

The fix

The vulnerability was fixed by a security update that corrects how the Windows Camera Codec Pack handles objects in memory.

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.

A codec is software that helps Windows read media files like photos. This codec had a memory handling mistake, so opening a malicious file could let an attacker run their own code on your PC. The attacker cannot do it alone; you have to open the file first.

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 Hossein Lotfi

View all

18 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.