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

Windows Device Association Broker Service Elevation of Privilege Vulnerability (CVE-2025-50174)

A use-after-free flaw exists in the Windows Device Association Broker service. An attacker who already has local access could exploit it to raise their privileges from Medium Integrity Level to Local Service.

Jongseong Kim Follow

Originally disclosed on Microsoft

High 7.0 View original

Description

Use after free in Windows Device Association Broker service 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 the vulnerability? An attacker could use this vulnerability to elevate privileges from Medium Integrity Level to Local Service.

Windows Device Association Broker service

Windows Device Association Broker service

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Jongseong Kim (nevul37) with Ajou University, and working at ENKI WhiteHat. 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 use-after-free memory management error in the Windows Device Association Broker service.

Impact

An attacker could elevate privileges from Medium Integrity Level to Local Service, but exploitation requires winning a race condition.

What the attacker needed

Local access to the machine; ability to run code at Medium Integrity; 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, so an attacker can sometimes control what is placed there. Here, someone who can already run code on the machine could abuse this to gain more power on that same computer. The attacker must also win a timing race, which makes it harder to pull off.

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 Jongseong Kim

View all

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