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

Windows Connected Devices Platform Service Elevation of Privilege Vulnerability (CVE-2025-58719)

A use-after-free flaw exists in the Windows Connected Devices Platform Service (Cdpsvc). An attacker who can win a race condition could exploit it to gain SYSTEM privileges locally.

Zhang WangJunJie Follow

Originally disclosed on Microsoft

High 4.7 View original

Description

Use after free in Connected Devices Platform Service (Cdpsvc) allows an authorized attacker to elevate privileges locally.

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 win a race condition.

FAQ

What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.

FAQ

According to the CVSS metrics, successful exploitation of this vulnerability could lead to no loss of confidentiality (C:N) and integrity (I:N), but could lead to major loss of availability (A:H). What does that mean for this vulnerability? An attacker who successfully exploits this vulnerability cannot access or modify any sensitive user data but can cause user data to become unavailable.

Connected Devices Platform Service (Cdpsvc)

Connected Devices Platform Service (Cdpsvc)

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Zhang WangJunJie, He YiSheng with Hillstone Networks Security Research Institute. 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

Impact

An attacker could gain SYSTEM privileges, but the exploit requires winning a race condition and could cause a major loss of availability without affecting confidentiality or integrity.

What the attacker needed

Local access to the machine; win a race condition

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 take control. Here, a local attacker who already has some access to the machine could exploit this to become the highest-level user (SYSTEM). The attack is hard because it depends on timing a race condition just right.

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 Zhang WangJunJie

View all

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