CVE-2026-118145 – Windows Function Discovery SSDP Provider Remote Code Execution Vulnerability
The service that helps Windows find printers and devices could also help an attacker on the same network find a way in.
CVE-2026-118145 is a use-after-free flaw in the Windows Function Discovery SSDP Provider, the component that discovers devices on the local network. An unauthenticated attacker on an adjacent network could exploit it to execute code. The attack is hard to pull off because it needs a memory allocation to fail while the service processes device information, but no credentials or user interaction are required.
CVSS Score: 7.5
SEVERITY: Critical
THREAT: An attacker on the same local network segment could run code on a Windows machine without logging in. This could help them spread from one compromised device to others nearby.
EXPLOITS: This vulnerability is not known to be exploited. The issue was not publicly disclosed before the fix, and no public proof-of-concept code is known.
TECHNICAL SUMMARY: The bug is a use-after-free (CWE-416) in the Function Discovery SSDP Provider, which handles Simple Service Discovery Protocol traffic used to find devices. When the service processes device information, an allocation failure can leave it using memory that was already freed, which an attacker can exploit to run code. The CVSS vector is AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. The attacker must be on an adjacent network, needs no privileges or user action, and faces high complexity because the allocation failure makes the attack harder to trigger reliably.
EXPLOITABILITY: Affected: Windows 10 versions 1607, 1809, 21H2 and 22H2; Windows 11 versions 23H2, 24H2, 25H2, 26H1 and 26H2; and Windows Server 2016, 2019, 2022 and 2025, including Server Core installations. The attacker must be on the same network segment and send device information that the SSDP provider processes. Fixes are delivered in the November cumulative updates: KB5131291 (Windows 10 1607 and Windows Server 2016), KB5131085 (Windows 10 1809 and Windows Server 2019), KB5131096 (Windows 10 21H2 and 22H2), KB5131087 (Windows 11 23H2), KB5132061 or KB5132043 (Windows 11 24H2, 25H2 and 26H2), KB5132059 (Windows 11 26H1), KB5131090 (Windows Server 2022), and KB5131080 or KB5131077 (Windows Server 2025).
BUSINESS IMPACT: Device discovery runs on many Windows systems by default, especially on laptops and desktops. An attacker who already has a foothold on one network device, or who joins a guest or Wi-Fi network, could use this flaw to move to other machines. That could speed up ransomware spread and data theft inside offices, branches, and shared networks.
WORKAROUND: Microsoft lists no mitigations or workarounds. If you cannot patch, consider disabling the SSDP Discovery and Function Discovery services where they are not needed, block SSDP traffic (UDP 1900) between segments, and keep untrusted devices on separate networks.
URGENCY: This is a Critical, unauthenticated code execution bug in a discovery service that is common on Windows endpoints. The need for adjacent network access and a failed allocation lowers the odds of attack, but it is a useful tool for lateral movement. Roll it out with your regular cumulative updates and do not delay, especially on laptops that join shared networks.
Key Details
- Attack Vector
- Adjacent
- Attack Complexity
- High
- Privileges Required
- None
- User Interaction
- None
- CWE Classification
- CWE-416