Skip to content
Memory corruption Advisory Advanced CVE-2025-60724

Windows GDI+ Remote Code Execution Vulnerability (CVE-2025-60724)

A heap-based buffer overflow exists in the Microsoft Graphics Component (GDI+), which processes metafile images. An attacker could exploit it by getting a victim to open a crafted document, or by uploading such a document to a web service that parses it, potentially achieving remote code execution or information disclosure.

4n0nym4u5 Follow

Originally disclosed on Microsoft

High 9.8 View original

Description

Heap-based buffer overflow in Microsoft Graphics Component allows an unauthorized attacker to execute code over a network.

FAQ

Is the Preview Pane an attack vector for this vulnerability? No, the Preview Pane is not an attack vector.

FAQ

According to the CVSS metric, the attack vector is network (AV:N). How could an attacker exploit the vulnerability? An attacker could trigger this vulnerability by convincing a victim to download and open a document that contains a specially crafted metafile. In the worst-case scenario, an attacker could trigger this vulnerability on web services by uploading documents containing a specially crafted metafile (AV:N) without user interaction. When multiple attack vectors can be used, we assign a score based on the scenario with the higher risk.

FAQ

According to the CVSS metric, the privilege required is none (PR:N) and user interaction is none (UI:N). What does that mean for this vulnerability? An attacker doesn't require any privileges on the systems hosting the web services. Successful exploitation of this vulnerability could cause Remote Code Execution or Information Disclosure on web services that are parsing documents that contain a specially crafted metafile, without the involvement of a victim user.

Microsoft Graphics Component

Microsoft Graphics Component

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by 4n0nym4u5 with Zscaler. 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 the Microsoft Graphics Component when parsing a specially crafted metafile, where the code writes past the bounds of an allocated buffer.

Impact

Successful exploitation could cause remote code execution or information disclosure, including on web services that parse uploaded documents without any user interaction.

What the attacker needed

Victim opens a crafted document; or a web service parses an uploaded file

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.

A part of Windows that draws images can be tricked by a malformed image file into writing more data than it has room for, which corrupts memory. An attacker who can get such a file opened, either by a person or by a website that processes uploads, may be able to run their own code on the machine. This is serious because it can happen without the victim doing anything unusual beyond opening or uploading a 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 4n0nym4u5

View all

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