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

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

A heap-based buffer overflow exists in the Windows Connected Devices Platform Service (Cdpsvc). An attacker who already has authorised local access could exploit it to gain SYSTEM privileges.

Zhang WangJunJie Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

Heap-based buffer overflow in Connected Devices Platform Service (Cdpsvc) allows an authorized attacker to elevate privileges locally.

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.

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

Root cause

Likely a heap buffer overflow where the service fails to check the size of data before copying it into a heap buffer.

Impact

An attacker with authorised local access could elevate their privileges to SYSTEM level.

What the attacker needed

Local access to the machine; authorised low-privilege account

The fix

Microsoft lists customer action as required, implying a security update should be applied.

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.

This is a flaw in a background Windows service that helps the system talk to nearby or connected devices. A part of memory called the heap can be overwritten with too much data, which can let someone who is already logged in on the machine run code with the highest level of permission, called SYSTEM. The attacker must already have some access to the computer; this is not something reachable from the internet.

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.