Skip to content
Memory corruption Advisory Advanced CVE-2026-85342

Windows Device Association Service Elevation of Privilege Vulnerability (CVE-2026-85342)

A use-after-free flaw exists in the Windows Device Association Service, which an authorised attacker could exploit locally to raise their privileges. Winning a race condition is required, and success could yield SYSTEM-level privileges.

h4urek Follow

Originally disclosed on Microsoft

High 7.0 View original

Description

Use after free in Windows Device Association 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 this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.

Windows Device Association Service

Windows Device Association Service

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by h4urek with secsys lab. 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 memory management error in the Device Association Service where an object is freed but still referenced, exploitable only by winning a race condition.

Impact

An attacker with local access who wins the race could gain SYSTEM privileges, the highest level on the machine.

What the attacker needed

Local access to the machine; authorised low-privileged account; 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 chunk of memory after it has been freed, so an attacker can try to control what lands there. Here the affected component is a Windows background service, and an attacker who already has a foothold on the machine could exploit it to become the most powerful local user (SYSTEM). The catch is that the timing has to be just right, which makes it hard to pull off reliably.

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 h4urek

View all

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