Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged local execution
-
DeliveryOpen WinSock socket handle
-
ExploitIssue racing IOCTLs to afd.sys
-
ExecutionTrigger use-after-free in kernel
-
PersistCorrupt kernel object / steal SYSTEM token
-
ImpactExecute payload as SYSTEM
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to already have local code execution with at least standard-user privileges on the target Windows host (AV:L, PR:L) and the ability to issue IOCTLs to the afd.sys driver - which is reachable by any process holding a socket handle in a default Windows installation. No user interaction is required (UI:N). The high attack complexity (AC:H) indicates a race condition or other timing-dependent precondition that the attacker must reliably win, which limits trivial mass exploitation but does not preclude weaponization. The scope is unchanged (S:U), so impact is confined to the local kernel/host. There is no network-reachable attack path - purely local post-compromise escalation. |
| Impact | The CVSS 7.0 score reflects high attack complexity (AC:H) combined with local vector (AV:L) and required low privileges (PR:L), but full CIA impact (C:H/I:H/A:H) on success - a profile typical of race-condition-based UAF kernel bugs. EPSS data was not provided in the input, and the CVE is not listed in CISA KEV, so no automated probability or active-exploitation signal is available. No public exploit has been identified at time of analysis, which is consistent with this being a Microsoft-reported vulnerability with a patch released through the standard update channel. Real-world risk is moderate-to-high in post-compromise scenarios: any attacker who already has code execution as a standard user on a Windows endpoint (via phishing, malware, or stolen credentials) would view this as a viable SYSTEM-escalation primitive, especially given afd.sys's reachability from sandboxed contexts. |
| Exploit ScenarioDerived | An attacker first gains low-privileged code execution on a Windows host through phishing, a browser exploit, or compromised credentials. From that foothold, the attacker's payload repeatedly invokes specific WinSock IOCTLs against afd.sys to win the race condition that triggers the use-after-free, corrupting a kernel object to overwrite the process token and yielding SYSTEM-level execution. No public POC has been published at the time of analysis, but past afd.sys UAFs have been weaponized within weeks of disclosure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 09, 2026
Local privilege escalation in the Windows Ancillary Function Driver for WinSock (afd.sys) allows an authenticated low-privileged user to elevate to SYSTEM via a use-after-free condition. The flaw affects Microsoft Windows installations using the standard WinSock kernel driver and has a vendor-released patch available through Microsoft's security update guide. No public exploit has been identified at time of analysis, though afd.sys has historically been a frequent target for elevation-of-privilege exploitation.
RemediationAI
Apply the vendor-released patch from Microsoft via the standard Windows Update channel or the security update guide at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-42911; the exact KB and build numbers should be confirmed against the MSRC advisory for the specific Windows SKU in use. As compensating controls until patching is complete, enforce least-privilege user accounts to limit which local actors can reach afd.sys, deploy attack-surface-reduction rules and EDR detections targeting suspicious afd.sys IOCTL abuse or token-stealing patterns, and prioritize patching endpoints reachable by untrusted code (developer workstations, terminal servers, multi-user systems). These compensating measures reduce - but do not eliminate - exposure because any local code execution path can attempt the race, and additional reference: https://vuldb.com/vuln/369611.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 33 packages in microsoft, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Ancillary Function Driver for WinSock (afd.sys) is a kernel-mode driver that provides the underlying support for Windows Sockets (WinSock) API calls from user-mode applications, bridging socket operations into the TCP/IP stack. CWE-416 (Use After Free) indicates the driver references kernel memory after it has been freed, typically when concurrent IOCTL requests or asynchronous I/O operations manipulate object lifetimes incorrectly. Successful manipulation of the dangling pointer permits an attacker to corrupt kernel memory structures, ultimately hijacking execution flow within ring 0. This driver class has been repeatedly abused in past Windows LPE chains because it is reachable from any process with a socket handle.
Know when Windows 10 1607 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
DescriptionCVE.org
Use after free in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.
Executive ViewAI
CVE-2026-42911 is a privilege escalation flaw in the Windows WinSock kernel driver (afd.sys) that allows any authenticated local user to gain SYSTEM access, effectively granting administrator control to unprivileged accounts. This affects all Windows installations and poses elevated risk in multi-user environments and shared systems. Leadership should prioritize remediation because exploitation requires only local access-a realistic post-compromise or insider-threat scenario.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Related Vulnerabilities in Windows Ancillary Function Driver WinSock UAF EoP
View all 2More in Windows 10 1607
View allWindows MSHTML component contains a remote code execution vulnerability that allows attackers to craft malicious ActiveX
<p>A remote code execution vulnerability exists when the Windows Print Spooler service improperly performs privileged fi
Windows MSDT (Microsoft Support Diagnostic Tool) allows remote code execution when called via the ms-msdt URL protocol f
The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows
The Windows VBScript engine contains a remote code execution vulnerability in object handling that allows full system co
Windows Print Spooler Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no auth
The Win32k kernel-mode driver in Windows Vista through Windows Server 2016 allows local privilege escalation, exploited
Windows Search Remote Code Execution Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely explo
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Windows Kernel contains a TOCTOU race condition vulnerability allowing local privilege escalation, exploited by the OilR
An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in
An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in
EUVD-2026-35723
GHSA-cm32-vwv6-jwp3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB