Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local user credentials
-
DeliveryExecute malicious WinSock application
-
ExploitTrigger AFD.sys race condition
-
ExecutionCorrupt freed kernel memory
-
PersistRedirect execution to shellcode
-
ImpactAchieve SYSTEM privileges
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 | Requires authenticated access with low-privilege local user credentials (PR:L) to the target Windows system. The attacker must have ability to execute code locally and interact with the Windows Sockets API to trigger the vulnerable code path in AFD.sys kernel driver. High attack complexity (AC:H) indicates successful exploitation depends on winning race conditions or achieving precise heap state manipulation during socket operations, requiring detailed knowledge of AFD.sys memory management internals and likely kernel debugging capabilities during exploit development. The vulnerability affects default Windows configurations with no special features or non-standard settings required. No user interaction (UI:N) needed once local access is established. Exploitation is limited to scenarios where attackers have already compromised a local user account but need elevation to SYSTEM-this is a post-exploitation privilege escalation primitive, not a remote entry vector. |
| Impact | Real-world risk is moderate despite the High CVSS severity rating. The CVSS vector (AV:L/AC:H/PR:L/UI:N) reveals significant exploitation barriers: local access required, high attack complexity indicating precise timing or race condition exploitation, and low-privilege authentication needed. The AC:H metric is particularly important-use-after-free vulnerabilities typically require winning race conditions or precise heap manipulation, making reliable exploitation difficult without extensive reverse engineering and testing against specific Windows builds. Absence from CISA KEV catalog suggests no confirmed active exploitation, indicating this is likely discovered through internal security research or fuzzing rather than adversary use. However, AFD.sys vulnerabilities have historically been attractive targets for post-exploitation frameworks and APT groups seeking local privilege escalation after initial foothold. The comprehensive patch coverage across all supported Windows versions signals Microsoft treats this seriously. Priority should be HIGH for systems where local users are untrusted (multi-user servers, jump boxes, systems accessible to contractors) but MEDIUM for single-user workstations with robust endpoint protection. The denial-of-service tag suggests exploitation attempts may crash the system before successful privilege escalation, providing some detection opportunity. |
| Exploit ScenarioDerived | An attacker with low-privileged local access to a Windows system (such as a compromised standard user account obtained through phishing) executes specially crafted code that interacts with the AFD.sys driver through WinSock API calls. By triggering precise timing conditions or race windows during socket operations, the attacker forces the driver to reference previously freed memory. Through heap manipulation techniques, the attacker controls the contents of the freed memory region, corrupting kernel data structures when AFD.sys reuses the pointer. This memory corruption redirects kernel execution flow to attacker-controlled code running with SYSTEM privileges, granting complete control over the machine. The high attack complexity suggests this requires significant technical sophistication and may involve multiple attempts or system-specific tuning. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 12, 2026
Local privilege escalation in the Windows Ancillary Function Driver for WinSock (AFD.sys) allows low-privileged authenticated users to execute arbitrary code with SYSTEM privileges via use-after-free memory corruption. Microsoft has released patches addressing Windows 10 (versions 1607 through 22H2), Windows 11 (versions 22H3 through 26H1), and Windows Server 2012. CVSS base score is 7.0 (High) with local attack vector and high attack complexity. EPSS data not available; no CISA KEV listing at time of analysis, suggesting exploitation has not been observed in the wild despite public disclosure.
RemediationAI
Apply the vendor-released patches immediately through Windows Update or Microsoft Update Catalog as documented in Microsoft Security Update Guide at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-35416. Organizations should prioritize patching for systems where local user access is granted to untrusted or semi-trusted users, including terminal servers, jump boxes, development environments, and contractor-accessible workstations. For systems that cannot be immediately patched, implement compensating controls including restricting local logon rights to only essential administrative accounts via Group Policy (Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment > Allow log on locally), enabling and monitoring Windows Defender Exploit Guard's Arbitrary Code Guard feature, and deploying enhanced logging for AFD.sys driver activity through Sysmon Event ID 6 (driver loaded) and Event ID 3 (network connections). Note that disabling AFD.sys is not feasible as it would break all WinSock networking functionality. Monitor for unusual privilege escalation attempts via Security Event IDs 4672 (special privileges assigned to new logon) and 4673 (privileged service called) from low-privilege user contexts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 21 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Windows Ancillary Function Driver (AFD.sys) is a kernel-mode driver that provides support for Windows Sockets (WinSock) applications, handling low-level socket operations including connection establishment, data transmission, and resource management. The vulnerability stems from a use-after-free condition (CWE-416), a memory corruption class where the driver continues to reference memory after it has been deallocated. This timing-dependent flaw allows manipulation of freed memory contents before reuse, enabling an attacker to corrupt kernel data structures. AFD.sys operates at ring 0 with SYSTEM privileges, making successful exploitation particularly severe as it bridges user-mode socket operations with kernel-mode networking stack. The affected CPE strings indicate widespread impact across Windows 10 (build 1607 from 2016 through current 22H2), all Windows 11 releases including the latest 26H1 preview builds, and the legacy Windows Server 2012 platform, suggesting this is a longstanding architectural issue in the WinSock kernel implementation rather than a recent regression.
Know when Windows Server 2012 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.
Articles & Coverage 1
Executive ViewAI
CVE-2026-35416 is a local privilege escalation vulnerability in Windows AFD.sys that allows authenticated users to gain SYSTEM-level access through memory corruption, affecting Windows 10, Windows 11, and Windows Server 2012 across all supported versions. Organizations must prioritize patching as this vulnerability enables complete system compromise for any user with local access, including remote desktop users and service accounts, potentially allowing lateral movement and persistent backdoor installation.
Apply vendor patch. Microsoft has released security updates addressing this vulnerability; no interim mitigations should delay patching. Pending patch deployment, restrict local and remote access to affected systems to trusted users only, and monitor for suspicious privilege escalation attempts via Windows Security Event Log (Event ID 4688 with CommandLine monitoring for suspicious processes spawning as SYSTEM).
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.
More in Windows Server 2012
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
Remote code execution in Microsoft Office 2007-2016 and Windows Vista through 10 allows attackers to execute arbitrary c
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
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
Active Directory Domain Services Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.5), this vulnerabilit
EUVD-2026-29623
GHSA-cc8v-q6gq-pf87
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB