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

Windows Miracast Wireless Display Remote Code Execution Vulnerability (CVE-2025-49691)

A heap-based buffer overflow exists in Windows Media, reachable through the Miracast wireless display feature. An unauthenticated attacker on the same wireless network could send crafted data to a machine that accepts projections and run code on it.

Marin Duroyon Follow

Originally disclosed on Microsoft

High 8.0 View original

Description

Heap-based buffer overflow in Windows Media allows an unauthorized attacker to execute code over an adjacent network.

FAQ

How could an attacker exploit this vulnerability? An unauthenticated attacker could project to a vulnerable system on the same wireless network that was configured to allow "Projecting to this PC" and marked as "Available Everywhere". This is not a default configuration.

FAQ

According to the CVSS metric, user interaction is required (UI:R) and privileges required are none (PR:N). What does that mean for this vulnerability? An unauthorized attacker must wait for a user to initiate a connection.

Windows Media

Windows Media

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Marin Duroyon. 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 buffer overflow in the Windows Media component that processes Miracast projection data, where the size of incoming data is not properly checked before it is copied into a fixed-size buffer.

Impact

An unauthenticated attacker on the same wireless network could execute code on a machine that has projection enabled and set to be available everywhere, but only after a user initiates a connection, and this is not a default configuration.

What the attacker needed

Attacker on the same wireless network; target has 'Projecting to this PC' enabled; target set to 'Available Everywhere'; victim initiates a connection

The fix

Microsoft addressed the flaw; the advisory lists customer action as required, so affected users should apply the update.

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.

Miracast lets a laptop or phone show its screen on another screen over Wi-Fi. Windows Media, the part that handles this, had a memory bug: it could be sent more data than it had room for, and the extra data spilled into neighbouring memory. An attacker nearby on the same Wi-Fi could use that spill to make the machine run their own code.

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 Marin Duroyon

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.