Skip to content
Memory corruption Advisory Advanced CVE-2022-44687

Raw Image Extension Remote Code Execution Vulnerability (CVE-2022-44687)

A vulnerability existed in the Microsoft Raw Image Extension, a component that lets Windows display raw image files. An attacker could convince a victim to download and open a specially crafted file, leading to code execution on the victim's machine.

ze0r Follow

Originally disclosed on Microsoft

High 7.8 View original

FAQ

According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. For example, when the score indicates that the Attack Vector is Local and User Interaction is Required , this could describe an exploit in which an attacker, through social engineering, convinces a victim to download and open a specially crafted file from a website which leads to a local attack on their computer.

FAQ

How do I get the updated app? The Microsoft Store will automatically update affected customers. Alternatively, customers can get the update immediately; see here for details. My system is in a disconnected environment; is it vulnerable? It is possible for customers to disable automatic updates for the Microsoft Store. The Microsoft Store will not automatically install this update for those customers. VLSC customers can visit the Volume Licensing Servicing Center to get the update https://www.microsoft.com/Licensing/servicecenter/ . Customers using the Microsoft Store for Business and Microsoft Store for Education can get this update through their organizations. What version of the Raw Image Extension is secure? For all supported versions of Windows 10, and Windows 11 versions up to 22000, the secure version is v2.0.32791.0 and later. For Windows 11 operating systems version 22621 and later, the secure version is v2.1.32791.0 and later. How can I check if the update is installed? You can check the package version in PowerShell: Get-AppxPackage Microsoft.RawImageExtension

Microsoft Windows Codecs Library

Microsoft Windows Codecs Library

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by ze0r with VenusTech ADLab. 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-safety flaw in how the Raw Image Extension parsed specially crafted image files, though the text does not state the exact coding mistake.

Impact

Opening a crafted file could let an attacker run code locally on the victim's computer, but the victim must first be persuaded to download and open the file.

What the attacker needed

Victim downloads a crafted file; victim opens the file; affected Raw Image Extension installed

The fix

The issue was fixed by updating the Raw Image Extension to version 2.0.32791.0 or later on most Windows versions, and 2.1.32791.0 or later on newer Windows 11 builds.

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.

Raw image files are photo formats that cameras produce, and Windows uses an add-on called the Raw Image Extension to show them. This add-on had a flaw: a booby-trapped image file could make it run the attacker's code when opened. The attacker cannot reach your computer directly; they have to trick you into downloading and opening the file.

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 ze0r

View all

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