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

Windows Function Discovery SSDP Provider Remote Code Execution Vulnerability (CVE-2026-118145)

A use-after-free flaw exists in the Windows Function Discovery SSDP Provider, which processes device information on an adjacent network. An unauthorised attacker could execute code, but only if an allocation fails during processing, making reliable exploitation difficult.

Q4n Follow

Originally disclosed on Microsoft

Critical 7.5 View original

Description

Use after free in Windows Function Discovery SSDP Provider allows an unauthorized attacker to execute code over an adjacent network.

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does this mean for this vulnerability? Successful exploitation requires an allocation to fail while the affected service processes device information. This additional condition makes an attack more difficult to trigger reliably.

Windows Function Discovery SSDP Provider

Windows Function Discovery SSDP Provider

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Q4n with Kunlun Lab & Zhiniang Peng with HUST. 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 in the SSDP provider's handling of device information, where an object is freed but still referenced when an allocation fails.

Impact

An attacker on an adjacent network could execute code, but only when an allocation fails during processing, so exploitation is unreliable.

What the attacker needed

Attacker on adjacent network; allocation failure during processing

The fix

Microsoft requires customer action, 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.

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 control what happens next. Here the affected Windows service listens for device announcements on the local network, so someone nearby on that network could try to trigger the bug and run their own code. The catch is that the attack only works if a memory allocation fails at the right moment, so it is 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 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.