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

HEVC Video Extensions Remote Code Execution Vulnerability (CVE-2022-21917)

A flaw in the HEVC Video Extensions app meant that a specially crafted media file could cause a crash in Explorer when a user browsed the folder containing it, and in another scenario could lead to remote code execution. An attacker who convinced a victim to open such a file could potentially run code on the victim's machine.

Dhanesh Kizhakkinan Follow

Originally disclosed on Microsoft

Critical 7.8 View original

FAQ

How could an attacker exploit the vulnerability? A crafted image file could cause a crash in Explorer during browsing of the directory containing the file. 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. 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. My system is in a disconnected environment; is it vulnerable? Customers using the the Volume Licensing Servicing Center can get this update through their organizations. How can I check if the update is installed? If your device manufacturer preinstalled this app, package versions 1.0.43421.0 and later contain this update. If you purchased this app from the Microsoft Store, package versions 1.0.43422.0 and later contain this update. You can check the package version in PowerShell: Get-AppxPackage -Name Microsoft.HEVCVideoExtension*

FAQ

How could an attacker exploit the vulnerability? This vulnerability requires an authenticated victim to be tricked into opening a specially crafted media file which could result in remote code execution on the victim's machine.

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 Dhanesh Kizhakkinan with Mandiant. 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 the HEVC codec did not properly validate the contents of crafted media files before processing them, leading to memory corruption.

Impact

A crafted file could crash Explorer during folder browsing, and opening a crafted media file could result in remote code execution on the victim's machine.

What the attacker needed

Victim opens a crafted media file; victim browses a folder with a crafted file; affected HEVC Video Extensions installed

The fix

The app was fixed through updated package versions distributed via the Microsoft Store or the Volume Licensing Servicing Center.

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 notice about a media player add-on for Windows that handles a video format called HEVC. The software made a mistake when reading certain video files, so a booby-trapped file could crash the file browser or, in a worse case, let an attacker run their own programs on the computer. The user has to open the file for this to happen.

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 Dhanesh Kizhakkinan

View all

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