HEIF Image Extensions Remote Code Execution Vulnerability (CVE-2022-24457)
A flaw in the Microsoft HEIF Image Extensions package could be triggered when a victim opens a specially crafted image file, which could lead to a crash. The advisory frames the issue as remote code execution but states the attack is carried out locally after social engineering.
Originally disclosed on Microsoft
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 could an attacker exploit the vulnerability? An attacker could exploit the vulnerability by convincing a victim to download and open a specially crafted file, which could lead to a crash.
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.
FAQ
How can I check if the update is installed? App package versions 1.0.43012.0 and later contain this update. You can check the package version in PowerShell: Get-AppxPackage -Name Microsoft.HEIFImageExtension
Microsoft Windows Codecs Library
Microsoft Windows Codecs Library
Microsoft
Microsoft
Customer Action Required
Yes
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 the HEIF image parsing code of the Windows codec extension, though the text does not describe the technical cause.
Impact
Opening a crafted file could crash the affected software; the text does not confirm code execution despite the title.
What the attacker needed
Victim opens a crafted image file; affected HEIF extension installed
The fix
The issue was fixed by updating the HEIF Image Extensions app package to version 1.0.43012.0 or later.
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.
An image file is more than a picture: it is data that a program must read and interpret. If that reading code has a mistake, a file built to abuse the mistake can make the program misbehave, here causing it to crash. The attacker has to trick someone into opening the file, so the victim does the risky action themselves.
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.