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
Lifecycle Timeline
2DescriptionCVE.org
Use after free in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.
AnalysisAI
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.
Technical ContextAI
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.
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.
More 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 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
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
Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables
Elevation of privilege in the Windows Win32k kernel-mode driver allows a local, low-privileged attacker to escalate to S
Same weakness CWE-362 – Race Condition
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-35558
GHSA-cm8c-qx86-hm82