Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privileged shell on Windows host
-
DeliveryOpen multiple Winsock socket handles
-
ExploitRace concurrent IOCTLs to trigger UAF in afd.sys
-
InstallGroom kernel pool to reclaim freed object
-
C2Achieve arbitrary kernel write via dangling pointer
-
ExecuteOverwrite process token to SYSTEM
-
ImpactPersist and pivot with full host control
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 hold valid low-privileged credentials and the ability to execute code locally on the target Windows host (PR:L, AV:L) - pure remote network exploitation is not in scope. The CVSS AC:H signals a real limiting factor: the attacker must reliably win a race between concurrent Winsock IOCTL paths in afd.sys, which depends on CPU scheduling, core count, and pool state, so single-shot exploitation will sometimes fail and need to be retried. No user interaction is required (UI:N), and because afd.sys is loaded by default on every supported Windows SKU, there is no non-default feature flag or optional component that has to be enabled - any host where a low-privileged user can run code is in-scope. |
| Impact | The CVSS 7.0 (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) accurately conveys that this is a local, high-complexity, authenticated bug with full CIA impact on the host - high consequence but non-trivial to reach reliably because of the race window (AC:H). The vulnerability is not on the CISA KEV list and no public exploit has been identified at time of analysis, so it is not currently a drop-everything patch. However, AFD.sys race-condition UAFs (e.g. CVE-2023-21768, CVE-2024-38193) have repeatedly been weaponised by both commodity malware and APT groups as post-exploitation LPE primitives, so historical base rates argue for prompt patching on multi-user, terminal-server, and developer endpoints. EPSS was not provided in the input, so probabilistic exploitation likelihood cannot be quantified here; tagging as 'Denial Of Service' alongside RCE-class impact suggests the same race can also be triggered for crash-only outcomes against less-skilled attackers. |
| Exploit ScenarioDerived | An attacker who already has low-privileged code execution on a Windows host - for example via a phished user account on a shared workstation, an RDP-accessible jumpbox, or a foothold from another bug - launches a process that opens multiple Winsock handles and races IOCTL calls against them to trigger the use-after-free in afd.sys. After grooming the kernel pool to reclaim the freed object with attacker-controlled data, the dangling dereference yields arbitrary kernel write, which is converted into SYSTEM by overwriting the process token. No public exploit is identified at time of analysis, but the AFD.sys attack surface has well-known offensive tooling that can be adapted. |
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 win a race condition and trigger a use-after-free, enabling code execution at kernel level. No public exploit identified at time of analysis, but AFD.sys has a long history of being a preferred LPE target and Microsoft has marked the issue as important. EPSS data was not provided in the source feed.
RemediationAI
Patch available per vendor advisory - apply the Microsoft cumulative security update for your Windows build referenced on the MSRC page at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-45598 as the primary fix; exact patched build numbers are listed only in that advisory and are not reproduced here to avoid inventing versions. Because exploitation requires local authenticated access, compensating controls until patching include restricting interactive and Remote Desktop logon rights on tier-0/tier-1 hosts (trade-off: blocks legitimate admin workflows), enforcing application allow-listing such as WDAC or AppLocker to stop unsigned LPE binaries from running (trade-off: high operational tuning cost), and enabling Microsoft Defender / EDR rules that flag suspicious AFD.sys IOCTL patterns and pool-spray behaviour (trade-off: detection-only, will not prevent fast exploits). Disabling AFD.sys itself is not a viable workaround because it would break all Winsock-based networking on the host.
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
AFD.sys is the kernel-mode driver that backs the Winsock user-mode API, brokering socket operations between user-space applications and the TCP/IP stack on every supported Windows release. The root cause is CWE-362 (concurrent execution using shared resource with improper synchronization, i.e. a race condition) that leads to a use-after-free: two threads racing on the same socket object can cause one path to free a structure while another still holds and dereferences a pointer to it. Because the dangling pointer is dereferenced in kernel context, controlling the freed allocation (via heap grooming of paged or non-paged pool) lets an attacker convert the UAF into arbitrary kernel read/write and ultimately SYSTEM-level execution.
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-45598 is a local privilege escalation vulnerability in Windows afd.sys (WinSock Ancillary Function Driver) with HIGH severity and CVSS 7.0 that allows any authenticated low-privileged user-including employees and service accounts-to execute code at kernel level. No public exploit has been identified at time of analysis, but afd.sys is historically a preferred LPE target; with no patch currently available from Microsoft, interim mitigations are urgent on systems housing critical data or infrastructure.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict local logon rights and RDP access to essential personnel only; implement privilege escalation monitoring and alerting; deploy application whitelisting to prevent unauthorized kernel-level code execution; enforce least-privilege access controls for all service accounts and administrative logons; isolate critical systems on segmented networks. Continuously monitor Microsoft and CISA advisories for patch availability.
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-35558
GHSA-cm8c-qx86-hm82
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB