Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local user credentials
-
DeliveryExecute multithreaded WinSock exploit
-
ExploitWin AFD.sys race condition
-
ExecutionCorrupt kernel object pointers
-
PersistEscalate token to SYSTEM privileges
-
ImpactExecute arbitrary code as administrator
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK
1 technique across 1 tactic: 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 existing local authenticated access with low-privilege credentials (PR:L confirmed by CVSS vector). Exploitation demands high attack complexity (AC:H) due to the race condition's narrow timing window - attacker must win concurrent thread execution during specific AFD.sys kernel operations, likely requiring multiple attempts or knowledge of system scheduling behavior. Success probability increases on multi-core processors where true parallel execution exists. No special Windows features need to be enabled (AFD.sys loads by default for all networking). Limits to exploitation: cannot be triggered remotely without first compromising a local account, no privilege escalation from network-only access, user interaction not required (UI:N) once local access achieved. The race is non-deterministic, making reliable exploitation difficult without deep kernel debugging and system-specific tuning. |
| Impact | CVSS 7.0 (High) reflects significant impact (full CIA compromise) but exploitation barriers reduce real-world urgency. Attack vector is local-only (AV:L) requiring existing system access with low-privilege credentials (PR:L), eliminating remote mass-exploitation scenarios. High attack complexity (AC:H) indicates the race condition requires precise timing, likely multiple attempts, and possibly specific hardware/scheduling conditions - not reliably exploitable via automated tooling. No CISA KEV listing suggests no confirmed widespread exploitation despite Microsoft patch availability. The 'Information Disclosure' tag alongside privilege escalation indicates potential data leakage during failed exploitation attempts. Priority for patching depends on environment: critical for multi-user systems, terminal servers, or environments where local access is obtainable via other vectors (phishing, supply chain). Lower priority for single-user workstations with robust endpoint controls. Microsoft's inclusion in monthly rollup indicates vendor assessed this as patchable through standard deployment channels rather than emergency out-of-band release. |
| Exploit ScenarioDerived | A low-privileged attacker with local access (compromised user account, insider threat, or post-phishing foothold) executes a custom exploit tool that rapidly creates and manipulates WinSock connections to trigger concurrent AFD.sys operations. By spawning multiple threads performing socket state transitions (connect, send, close) with precise timing, the attacker wins the race condition during a kernel object validation check. This corrupts internal AFD structures, allowing the attacker to escalate their token privileges to SYSTEM or inject code into a higher-privileged process, gaining full control of the machine to install persistent backdoors or access domain credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 12, 2026
Race condition in Windows Ancillary Function Driver for WinSock (AFD.sys) enables local privilege escalation for low-privileged authenticated users across Windows 10 (1607-22H2), Windows 11 (22H3-26H1), and Windows Server 2016. Microsoft confirmed the vulnerability and released patches via their March 2026 security updates. The flaw requires high attack complexity (CVSS AC:H), suggesting exploitation depends on winning a narrow timing window in concurrent socket operations. EPSS data unavailable, no CISA KEV listing at time of analysis, but Microsoft's rapid patch indicates credible exploit risk.
RemediationAI
Apply Microsoft's March 2026 security updates via Windows Update, WSUS, or SCCM according to your patch management cycle. Consult the vendor advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-34345 for specific KB numbers corresponding to each Windows version (e.g., Windows 11 24H2 requires KB50xxxxx). Prioritize patching for servers with multiple concurrent users, Hyper-V hosts, and systems accessible to lower-trust users. If immediate patching is infeasible, implement compensating controls: restrict local logon rights to trusted administrators only via Group Policy (Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment > 'Allow log on locally'), enable Credential Guard on Windows 10/11 Enterprise to protect elevated tokens even if exploitation succeeds (note: requires UEFI, Secure Boot, and compatible hardware), and monitor for abnormal AFD.sys activity using Sysmon EventID 10 (ProcessAccess) targeting lsass.exe from unexpected processes. These mitigations reduce attack surface but do not eliminate the race condition - patching remains the definitive solution.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 17 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) provides kernel-mode support for WinSock operations including asynchronous I/O, connection management, and socket state transitions. This CWE-362 race condition occurs when multiple threads concurrently access shared resources within AFD without proper synchronization primitives (mutexes, semaphores, or interlocked operations). The vulnerability likely exists in critical sections handling socket descriptor allocation, buffer management, or security context validation. When thread scheduling allows attacker-controlled operations to execute between check-and-use sequences, inconsistent kernel state can be exploited to corrupt object pointers, bypass security checks, or elevate the calling thread's token privileges. AFD operates at IRQL PASSIVE_LEVEL to APC_LEVEL, where race windows are exploitable through carefully timed system calls like WSARecv, WSASend, or socket option manipulations.
Know when Windows Server 2016 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
Concurrent execution using shared resource with improper synchronization ('race condition') in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.
Executive ViewAI
CVE-2026-34345 is a local privilege escalation vulnerability in Windows AFD.sys affecting Windows 10, 11, and Server 2016, allowing authenticated users to gain elevated system access through race condition exploitation. This poses significant risk to enterprise environments where local attacker presence is possible, particularly in shared or remote desktop scenarios, and requires immediate patching across all affected systems to prevent lateral movement and privilege escalation attacks.
Apply vendor patch. Interim mitigations pending patch deployment: restrict local user account creation and logon capabilities; disable unnecessary services that spawn local process threads; implement application allowlisting to prevent untrusted code execution with local privilege; monitor for failed privilege escalation attempts and unusual socket driver activity in Event Viewer; enforce network segmentation to limit lateral movement post-escalation.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).
More in Windows Server 2016
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-29604
GHSA-j2x4-j6jv-hpjv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB