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

DirectX Graphics Kernel Remote Code Execution Vulnerability (CVE-2025-50176)

A type confusion flaw exists in the Windows Graphics Kernel, where a resource is accessed using an incompatible type. An authenticated local attacker could exploit this to execute code on the machine.

b2ahex Follow with cyanbamboo

Originally disclosed on Microsoft

Critical 7.8 View original

Description

Access of resource using incompatible type ('type confusion') in Graphics Kernel allows an authorized attacker to execute code locally.

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. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Any authenticated attacker could trigger this vulnerability. It does not require admin or other elevated privileges.

Graphics Kernel

Graphics Kernel

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by b2ahex. 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 type confusion in the Graphics Kernel where a resource is used as the wrong type, leading to memory corruption that can be turned into code execution.

Impact

An authenticated local attacker could execute arbitrary code with the privileges of the Graphics Kernel, potentially leading to full system compromise, though the attack requires local access and low privileges.

What the attacker needed

Local access to the machine; low-privileged authenticated user

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 type confusion bug means the program treats a piece of data as one kind of object when it is actually another, which can let an attacker control what the program does next. Here, someone who can already log in to the computer could run specially crafted code to take over the graphics component and execute their own commands. The attacker must be on the machine already, not remote over the internet.

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 b2ahex

View all

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