CVE-2026-125134 – Windows Function Discovery Resource Publication Remote Code Execution Vulnerability

CVSS 7.5 IMPORTANT [2] Critical – Same Day Deployment

“One overloaded Windows machine, one well-timed request from a nearby attacker, and the whole box belongs to someone else.”

CVE-2026-125134 is a use-after-free bug in the Windows Function Discovery Resource Publication service, the component that lets a Windows computer announce itself and its resources to other devices on the local network. An attacker on the same network segment, with no login and no help from a user, can send crafted SOAP requests to the service. If the system is short on memory and the attacker wins a timing race, the result is code running as SYSTEM. It is not easy to pull off, but when it works, the attacker gets full control of the machine.

CVSS Score: 7.5

SEVERITY: Critical

THREAT: An unauthenticated attacker on the same local network segment could take over a Windows system and run code with SYSTEM privileges. That gives them full control to steal data, install malware, or move on to other machines.

EXPLOITS: This vulnerability is not known to be actively exploited. It was not publicly disclosed before the fix, and no public proof-of-concept exploit code is known.

TECHNICAL SUMMARY: The flaw is a use-after-free (CWE-416) in the Function Discovery Resource Publication service. When the service handles SOAP requests and a memory allocation fails under low-memory conditions, an asynchronous request-cleanup routine can free memory that is still in use. An attacker who sends specially crafted requests at the right moment can make the service reuse that freed memory, which can be shaped to hijack execution. Because the service runs with high privileges, successful exploitation leads to code execution as SYSTEM, with high impact on confidentiality, integrity, and availability. The attack needs no privileges and no user interaction, but the attack complexity is high because the target must be under sustained memory pressure and the attacker must win a timing condition.

EXPLOITABILITY: Affected systems include 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 an adjacent network, such as the same subnet or LAN segment. They send crafted SOAP requests to the service while the target is low on memory, either waiting for that state or trying to cause it.

BUSINESS IMPACT: Function Discovery is part of nearly every modern Windows desktop and server, so the attack surface is huge. An attacker who already has a foothold on an office network, guest Wi-Fi that is not properly separated, or a shared network segment could use this bug to grab SYSTEM control of nearby machines without a password. From there, they could steal sensitive data, deploy ransomware, harvest credentials, and spread across the network. A single compromised server could cause outages, data breaches, regulatory trouble, and costly recovery work.

WORKAROUND: There is no official workaround. If the update cannot be applied right away, limit exposure by keeping untrusted devices off internal network segments, separating guest and IoT networks, and blocking network discovery traffic between segments with host or network firewalls. Where network discovery is not needed, consider disabling the Function Discovery Resource Publication service. Watching for unusual memory pressure and service crashes may also help spot attempts.

URGENCY: Microsoft rates this bug Critical, and it gives an attacker SYSTEM-level control with no credentials and no user action. The tricky timing makes it harder to exploit, but attackers who are already inside a network are patient and well equipped. Because the affected service ships on almost every supported Windows desktop and server, the number of exposed machines is very large. Deploying this month's updates quickly closes a path that could turn one compromised device into a network-wide incident.

Key Details

Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
None
User Interaction
None
CWE Classification
CWE-416
Patch this CVE on all your endpoints in under 5 minutes. First 200 endpoints are free forever, scale as needed.