Windows Connected Devices Platform Service Remote Code Execution Vulnerability (CVE-2025-49724)
A use-after-free flaw exists in the Windows Connected Devices Platform Service. A remote unauthenticated attacker could send specially crafted traffic to a system with Nearby Sharing enabled and convince a user to take specific actions, potentially leading to code execution.
Description
Use after free in Windows Connected Devices Platform Service allows an unauthorized attacker to execute code over a network.
FAQ
How could an attacker exploit this vulnerability? To exploit this vulnerability, a remote unauthenticated attacker would need to send specially crafted traffic to a system with the "Nearby Sharing" feature enabled and to convince a user to take specific actions.
Windows Connected Devices Platform Service
Windows Connected Devices Platform Service
Microsoft
Microsoft
Customer Action Required
Yes
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 use-after-free memory management error in the Windows Connected Devices Platform Service when handling network traffic.
Impact
A remote unauthenticated attacker could potentially execute code on a system with Nearby Sharing enabled, but only if they can convince a user to take specific actions.
What the attacker needed
Nearby Sharing feature enabled; attacker can send network traffic; victim takes specific actions
The fix
Microsoft released a security update; customers are advised to apply it.
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 use-after-free is a memory bug where a program keeps using a piece of memory after it has been freed, which can let an attacker control what happens next. Here, the vulnerable part is a Windows service that helps devices discover each other nearby. An attacker on the network could send crafted messages and, with some user interaction, possibly run their own code on the machine.
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.