Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2025-54102

CVE-2025-54102: Windows 10 1607 Privilege Escalation Flaw

CVE-2025-54102 is a use-after-free privilege escalation vulnerability in Windows Connected Devices Platform Service on Windows 10 1607. Authorized attackers can exploit this locally to gain elevated privileges.

Updated:

CVE-2025-54102 Overview

CVE-2025-54102 is a use-after-free vulnerability [CWE-416] in the Windows Connected Devices Platform Service (CDPSvc). An authenticated local attacker can exploit the flaw to elevate privileges on affected Windows client and server systems. Successful exploitation grants the attacker higher-integrity execution in the context of the service, enabling code execution, data tampering, and denial of service.

Microsoft published the advisory on September 9, 2025 as part of its monthly security update cycle. The vulnerability affects a broad range of supported Windows versions, including Windows 10, Windows 11, and Windows Server releases from 2016 through 2025.

Critical Impact

A local, authorized attacker can escalate privileges to compromise the confidentiality, integrity, and availability of the affected Windows host.

Affected Products

  • Microsoft Windows 10 (1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (22H2, 23H2, 24H2)
  • Microsoft Windows Server 2016, 2019, 2022, 2022 23H2, and 2025

Discovery Timeline

  • 2025-09-09 - CVE-2025-54102 published to NVD and Microsoft advisory released
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-54102

Vulnerability Analysis

The Connected Devices Platform Service (CDPSvc) manages cross-device experiences such as Nearby Sharing, phone-linking, and roaming settings between Windows endpoints and Microsoft accounts. The service runs as NT AUTHORITY\LOCAL SERVICE and processes serialized requests from local clients over RPC and named pipes.

The vulnerability is a use-after-free condition [CWE-416] in this service. A use-after-free occurs when an application continues to reference memory after it has been released. An authorized local attacker who can send crafted requests to the service can trigger the freed-object reuse. Reallocating the freed region with attacker-controlled data allows manipulation of an object pointer or virtual function table, resulting in code execution within the service context.

Because exploitation runs inside a system service with elevated privileges, the attacker gains higher integrity than their original user context. The attack requires local access and low privileges but no user interaction.

Root Cause

The root cause is improper lifetime management of a heap-allocated object within the Connected Devices Platform Service. A code path releases the object while another reference remains reachable. When that reference is later dereferenced, the process operates on freed memory whose contents an attacker can influence through heap grooming.

Attack Vector

The attack is local. An attacker executes code as a standard user, opens a channel to CDPSvc, and issues a sequence of requests that triggers the free followed by a reuse. Reliable exploitation typically pairs the primitive with a heap spray to control the reallocated buffer, yielding arbitrary code execution as LOCAL SERVICE and enabling further token or SYSTEM escalation. No public proof-of-concept is available at the time of writing, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

// No verified public exploit is available for CVE-2025-54102.
// Refer to the Microsoft advisory for technical guidance.

Detection Methods for CVE-2025-54102

Indicators of Compromise

  • Unexpected crashes, restarts, or WER (Windows Error Reporting) entries for the CDPSvc service or its host svchost.exe instance.
  • Standard user processes opening handles to CDPSvc RPC endpoints or named pipes followed by service instability.
  • Child processes spawned from the svchost.exe hosting CDPSvc that are not part of normal service behavior.

Detection Strategies

  • Monitor Windows Event Log sources Service Control Manager and Application Error for CDPSvc faults, access violations, and heap corruption events.
  • Alert on token manipulation or privilege escalation patterns where a process transitions from a low-privilege user context to LOCAL SERVICE or SYSTEM shortly after interacting with CDPSvc.
  • Correlate local RPC client activity to CDPSvc with subsequent suspicious process creation on the same host.

Monitoring Recommendations

  • Enable process creation auditing (Event ID 4688) with command-line logging on all Windows endpoints and servers.
  • Ingest Sysmon events for process creation, image loads by svchost.exe, and named pipe activity involving Connected Devices Platform endpoints.
  • Baseline normal CDPSvc behavior and alert on deviations, including unusual client processes, crash loops, or unexpected memory pressure.

How to Mitigate CVE-2025-54102

Immediate Actions Required

  • Apply the September 2025 Microsoft security updates addressing CVE-2025-54102 to all affected Windows 10, Windows 11, and Windows Server systems.
  • Prioritize patching multi-user systems, terminal servers, and shared workstations where local attackers are most likely to gain a foothold.
  • Restrict local logon rights and enforce least privilege for interactive users to reduce the pool of accounts capable of triggering the flaw.

Patch Information

Microsoft has released cumulative updates that remediate the use-after-free condition in the Connected Devices Platform Service. Refer to the Microsoft CVE-2025-54102 Advisory for the specific KB article and build numbers corresponding to each supported Windows release. Confirm installation using Get-HotFix or the Windows Update history after deployment.

Workarounds

  • No official workaround has been published by Microsoft; patching is the supported remediation path.
  • On servers where cross-device features are unnecessary, consider disabling the CDPSvc service to reduce attack surface until patches are applied.
  • Enforce application allow-listing and endpoint protection policies to limit unauthorized local code execution that could stage exploitation.
bash
# Verify patch installation and CDPSvc status on Windows hosts
Get-HotFix | Sort-Object -Property InstalledOn -Descending | Select-Object -First 10
Get-Service -Name CDPSvc | Format-List Name, Status, StartType

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.