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

Windows GDI+ Remote Code Execution Vulnerability (CVE-2022-33635)

A flaw in the Windows GDI+ graphics component allows an attacker to run arbitrary code on a victim's machine if the victim opens a specially crafted file. The attacker must convince the user to open the file, for example via email or a link to a website hosting it.

Bing Sun Follow

Originally disclosed on Microsoft

High 7.8 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Exploitation of the vulnerability requires that a user open a specially crafted file. 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.

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.

Microsoft Graphics Component

Microsoft Graphics Component

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Bing Sun and Jin Liu. 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 GDI+ graphics component when processing a specially crafted file.

Impact

An attacker could run arbitrary code on the victim's computer, but only after the user opens a crafted file, so user interaction is required.

What the attacker needed

Victim opens a crafted file; attacker convinces the user via email or link

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.

GDI+ is a part of Windows that draws images and graphics. A bug in how it handles certain files means a malicious file can make the computer run the attacker's code. The attacker cannot do this alone; they need to trick the person into opening the file, usually through an email attachment or a link.

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 Bing Sun

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.