Windows Connected Devices Platform Service (Cdpsvc) Remote Code Execution Vulnerability (CVE-2025-55326)
A use-after-free flaw exists in the Windows Connected Devices Platform Service (Cdpsvc). 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.
Originally disclosed on Microsoft
Description
Use after free in Connected Devices Platform Service (Cdpsvc) allows an unauthorized attacker to execute code over a network.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to prepare the target environment to improve exploit reliability.
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.
FAQ
According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? In a web-based attack scenario, an attacker could host a website or server that contains a specially crafted file that is designed to exploit the vulnerability. However, an attacker would have no way to force the user to visit the website. Instead, an attacker would have to convince the user to click a link, typically by way of an enticement in an email or Instant Messenger message, and then convince the user to open the specially crafted file.
Connected Devices Platform Service (Cdpsvc)
Connected Devices Platform Service (Cdpsvc)
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 in the Connected Devices Platform Service, where memory is accessed after being released.
Impact
A remote unauthenticated attacker could potentially execute code, but exploitation requires preparing the target environment and convincing a user to take specific actions.
What the attacker needed
Nearby Sharing feature enabled; attacker can send crafted network traffic; victim convinced to take specific actions
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 background service that handles nearby device sharing. An attacker on the network would need the victim to have Nearby Sharing turned on and to be tricked into opening a crafted file or link.
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.