Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-priv local shell on Windows host
-
DeliveryOpen Winsock socket and spawn racing threads
-
ExploitTrigger afd.sys IOCTL race to free object
-
InstallReclaim freed kernel allocation with controlled data
-
C2Pivot UAF into kernel write primitive
-
ExecuteOverwrite process token to SYSTEM
-
ImpactDisable defenses and establish persistence
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 | Exploitation requires the attacker to already have authenticated local code execution on the target Windows host as a low-privileged user (PR:L, AV:L) and the ability to spawn multiple threads to win a kernel race condition (AC:H). The afd.sys driver must be loaded, which is the default on all standard Windows desktop and server installations, so no special feature toggle is needed. Limiting factors that reduce realistic risk: no remote or network-reachable trigger, no user-interaction-driven path (UI:N but still requires a local foothold), high attack complexity due to timing sensitivity which may cause inconsistent success and BSODs on failure, and exploitation difficulty is meaningfully increased on hosts where Virtualization-Based Security and HVCI are enabled. |
| Impact | The CVSS 7.0 base score reflects a credible but non-trivial threat: AV:L requires the attacker to already have code execution on the host, AC:H reflects the timing-dependent race that must be won, and PR:L means a standard authenticated user account is sufficient - no admin rights needed. Confidentiality, integrity, and availability impacts are all High because successful exploitation yields kernel-mode (SYSTEM) execution. EPSS data was not provided, and the vulnerability is not on CISA KEV, so there is no signal of mass exploitation; however, AFD.sys LPE bugs have historically been weaponized quickly by commodity malware and ransomware affiliates once a working POC appears. The Denial of Service tag is consistent with the race-condition primitive - even an unsuccessful exploitation attempt can BSOD the host. Treat this as a meaningful post-compromise escalation risk rather than an internet-facing emergency. |
| Exploit ScenarioDerived | A standard domain user who has obtained interactive or remote-shell access to a Windows host (e.g., via phishing or stolen credentials) runs a small exploit binary that opens a Winsock socket and issues conflicting IOCTLs from multiple threads to race afd.sys into freeing and reusing a socket-related kernel object. After winning the race, the attacker pivots the use-after-free into a kernel write primitive that overwrites the process token, granting SYSTEM, and then disables EDR, dumps LSASS, or installs persistence. No public exploit identified at time of analysis, but historical afd.sys LPE bugs have been productised within weeks of patch release. |
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 local user to gain SYSTEM-level rights by winning a race condition that leads to a use-after-free in kernel memory. The flaw affects Windows installations where afd.sys is loaded (effectively all desktop and server SKUs) and was reported by Microsoft Security Response Center; no public exploit identified at time of analysis and the vulnerability is not listed on the CISA KEV catalog.
RemediationAI
Apply the Microsoft monthly security update that addresses CVE-2026-45596 to all Windows endpoints and servers; the exact KB article and patched afd.sys file version should be retrieved from the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-45596, as no specific fixed version was supplied in the input data. No vendor-released patched build was independently confirmed in the provided intelligence beyond the MSRC reference. Compensating controls until patching is complete: restrict local logon and interactive sessions to trusted users (this bug requires PR:L), constrain or block execution of unsigned binaries via WDAC/AppLocker to reduce the pool of attackers who can deliver a race-condition exploit, enable HVCI/VBS so that kernel exploitation primitives become harder to realize, and monitor EDR for anomalous afd.sys-related crashes or token-swap behavior - note that VBS/HVCI can introduce measurable performance overhead on older silicon, and AppLocker policies must be tested against business apps.
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 (afd.sys) is the kernel-mode driver that backs the Winsock user-mode API, handling socket I/O requests issued via DeviceIoControl. CWE-362 (race condition) combined with the description of a use-after-free indicates that two concurrent threads can manipulate a shared socket-related kernel object such that one path frees the object while another retains and dereferences a stale pointer, yielding a controllable write or call primitive in kernel context. AFD.sys has been a recurring LPE target on Windows (e.g., CVE-2023-21768, CVE-2024-38193), and exploitation typically pivots through I/O ring or pipe-attribute primitives to overwrite a process token and obtain SYSTEM. No CPE strings were provided in the input, so exact affected Windows build numbers must be confirmed from the Microsoft advisory.
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
A privilege escalation vulnerability in Windows' afd.sys driver (CVE-2026-45596) allows authenticated local users to gain SYSTEM-level control through a kernel race condition, affecting all Windows desktop and server installations. While no active exploitation or public exploit code has been identified, the flaw creates a lateral-movement pathway for compromised user accounts or insider threats to bypass all security boundaries. Organizations must assume this vulnerability will be weaponized once the attack mechanism is publicized.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enforce strict local account privileges-restrict interactive logon to essential administrators; (2) Disable service account interactive logon capability wherever feasible; (3) Monitor Windows Event Logs for privilege escalation events and unexpected SYSTEM-context process creation; (4) Enable Hypervisor-protected Code Integrity (HVCI) on supported hardware; (5) Implement application whitelisting to restrict execution of tools commonly used to exploit kernel vulnerabilities.
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
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).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Related Vulnerabilities in Windows AFD WinSock Use-After-Free Privilege Escalation
View all 5More 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-35560
GHSA-32m9-jm89-hm8p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB