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

Windows Universal Plug and Play (UPnP) Device Host Elevation of Privilege Vulnerability (CVE-2025-48821)

A use-after-free flaw exists in the Windows UPnP Device Host, which an authenticated attacker on the same local network could exploit by winning a race condition. Successful exploitation could allow the attacker to gain SYSTEM privileges.

k0shl Follow

Originally disclosed on Microsoft

High 7.1 View original

Description

Use after free in Windows Universal Plug and Play (UPnP) Device Host allows an authorized attacker to elevate privileges over an adjacent network.

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 metric, the attack vector is adjacent (AV:A). What does that mean for this vulnerability? An authenticated attacker could exploit this vulnerability with LAN access.

Windows Universal Plug and Play (UPnP) Device Host

Windows Universal Plug and Play (UPnP) Device Host

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by k0shl with Kunlun 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 use-after-free memory management error in the Windows UPnP Device Host component.

Impact

An authenticated attacker with LAN access could gain SYSTEM privileges, though exploitation requires winning a race condition.

What the attacker needed

Authenticated attacker; LAN access; 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, someone already on the same local network could exploit this to gain the highest level of access on the machine, called SYSTEM.

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 k0shl

View all

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