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

Windows Direct Show Remote Code Execution Vulnerability (CVE-2025-21291)

A double free error in Windows Direct Show could be exploited by an attacker who controls subsequent memory allocation, potentially allowing arbitrary code execution. The attacker must convince an authenticated client to click a link to initiate the attack.

Mozilla Follow

Originally disclosed on Microsoft

High 8.8 View original

FAQ

According to the CVSS metric, the attack vector is network (AV:N) and the user interaction is required (UI:R). What is the target context of the remote code execution? This attack requires an authenticated client to click a link so that an unauthenticated attacker can initiate remote code execution.

FAQ

How could an attacker exploit the vulnerability? An attacker could exploit the vulnerability by controlling subsequent memory allocation after a double free error occurs. This could potentially allow the attacker to execute arbitrary code, leading to remote code execution.

Windows Direct Show

Windows Direct Show

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Mozilla. 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 double free error in Windows Direct Show that allows an attacker to control subsequent memory allocation.

Impact

This could potentially allow the attacker to execute arbitrary code, leading to remote code execution, but the attack requires an authenticated client to click a link.

What the attacker needed

Authenticated client clicks a 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.

A double free error happens when a program tries to release the same memory twice, which can corrupt memory. An attacker who can control what happens next might trick the program into running their own code. The victim needs to click a link for the attack to start.

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 Mozilla

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.