Skip to content
Memory corruption Advisory Advanced CVE-2026-54122

Windows GDI+ Remote Code Execution Vulnerability (CVE-2026-54122)

A heap-based buffer overflow exists in Windows GDI+, a graphics component. An attacker could send a malicious link or crafted email to execute code on the victim's machine.

Seung Chan Kim Follow

Originally disclosed on Microsoft

High 8.4 View original

Description

Heap-based buffer overflow in Windows GDI+ allows an unauthorized attacker to execute code locally.

FAQ

How could an attacker exploit this vulnerability? Exploitation of this vulnerability requires that an attacker send a malicious link to the victim via email, or that they convince the user to click the link, typically by way of an enticement in an email or Instant Messenger message. In the worst-case email attack scenario, an attacker could send a specially crafted email to the user without a requirement that the victim open, read, or click on the link. This could result in the attacker executing remote code on the victim's machine. When multiple attack vectors can be used, we assign a score based on the scenario with the higher risk (UI:N).

Windows GDI+

Windows GDI+

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Seung Chan Kim. 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 heap-based buffer overflow in Windows GDI+ when processing malicious input, though the text does not state the exact coding mistake.

Impact

An attacker could execute remote code on the victim's machine, and in the worst email scenario no user interaction would be required.

What the attacker needed

Victim clicks a malicious link; or opens a crafted email

The fix

Microsoft lists customer action as required, but the text does not describe the specific fix.

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 Windows component that draws images and text. A buffer overflow means the program writes more data into a memory area than it can hold, which can let an attacker take control of the program. Here, a crafted link or email could trigger this and run the attacker's code on the victim's computer.

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 Seung Chan Kim

View all

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