Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-priv local access
-
DeliveryRun crafted Winsock syscalls to afd.sys
-
ExploitTrigger use-after-free on kernel object
-
ExecutionReallocate and control freed memory
-
PersistCorrupt kernel structures
-
ImpactExecute code as SYSTEM
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 | Exploitation requires the attacker to already have local, authenticated access to the target (CVSS PR:L) and the ability to run their own code that makes Winsock/socket syscalls into afd.sys; it is a local elevation-of-privilege bug (AV:L), not remotely reachable over the network. No user interaction is needed (UI:N) and the attack complexity is low (AC:L), but the requirement for prior low-privilege code execution is the key limiting factor. The vulnerable afd.sys driver is present in default configurations of all listed Windows client and server versions, so no non-default feature or setting must be enabled - the constraint is foothold and reliable kernel-heap grooming, not special configuration. |
| Impact | The CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 7.8 High) describes a low-complexity, low-privilege local escalation with no user interaction and total impact - a classic post-compromise SYSTEM escalation rather than an initial-access bug. All exploitation signals point to lower immediate urgency than the severity alone suggests: EPSS is only 0.25% (16th percentile), CISA SSVC records Exploitation: none and Automatable: no, and there is no public exploit identified at time of analysis, so this is not currently a mass-exploited threat. However, AFD.sys use-after-free bugs are historically favored in exploit chains and by commodity malware for local escalation once a foothold exists, and SSVC rates the technical impact as total - so despite low EPSS this warrants prompt patching on multi-user, terminal-server, and endpoint systems where untrusted code may run. No signals are strongly conflicting; the local-only AV is consistent with the elevation-of-privilege description. |
| Exploit ScenarioDerived | An attacker who has already gained low-privileged code execution on a Windows host - for example via phishing, a compromised service account, or a standard user login on a shared/terminal server - runs a crafted program that issues malformed socket operations to afd.sys to trigger the use-after-free and reclaim the freed kernel object. By controlling the reallocated memory they corrupt kernel structures to execute code as SYSTEM, completing a local privilege escalation. No public exploit is identified at time of analysis, so this would require the attacker to develop or obtain a working exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 17, 2026
Local privilege escalation in the Windows Ancillary Function Driver for WinSock (afd.sys) lets an already-authenticated user execute code in kernel context and gain SYSTEM-level rights, affecting a broad Windows client and server range from Windows Server 2012 through Windows 11 25H2/26H1 and Server 2025. The flaw is a CWE-416 use-after-free that yields total technical impact (C:H/I:H/A:H). Microsoft has shipped a patch; there is no public exploit identified at time of analysis and CISA's SSVC framework lists exploitation as none, with a low EPSS of 0.25% (16th percentile).
Earlier versions of this analysis (1)
Local privilege escalation in the Windows Ancillary Function Driver for WinSock (AFD.sys) allows an authenticated low-privileged user to elevate to SYSTEM by triggering a use-after-free (CWE-416) in the kernel-mode driver. All actively serviced Windows client (10 1607 through 11 26H1) and Server (2012 through 2025) editions are affected, and Microsoft has released patches. There is no public exploit identified at time of analysis, and the flaw is not listed in CISA KEV.
RemediationAI
Vendor-released patch available per Microsoft advisory - apply the cumulative Windows security update that raises each system to at least its fixed build: Windows 10 1607/Server 2016 to 10.0.14393.9339, Windows 10 1809/Server 2019 to 10.0.17763.9020, Windows 10 21H2 to 10.0.19044.7548, Windows 10 22H2 to 10.0.19045.7548, Windows 11 24H2/25H2 to 10.0.26100.8875, Windows 11 26H1 to 10.0.28000.2525, Server 2012 to 6.2.9200.26226, Server 2012 R2 to 6.3.9600.23291, Server 2022 to 10.0.20348.5386, and Server 2025 to 10.0.26100.33158, per https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-57093. There is no documented supported workaround because afd.sys is a core networking component that cannot be safely disabled without breaking Winsock connectivity; where patching must be delayed, reduce exposure by limiting the ability of untrusted users to run code on affected hosts (restrict interactive/terminal-server logon, enforce least privilege, and apply application allowlisting), accepting that these controls only shrink the attacker population rather than remove the vulnerable code path.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 18 packages in 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 Ancillary Function Driver that backs the Winsock user-mode API, mediating socket calls between user processes and the TCP/IP stack; it is a long-standing, high-value target for local exploitation because it is reachable from any process that opens a socket. The root cause is CWE-416 (use-after-free): the driver continues to reference a kernel object after it has been freed, allowing an attacker who can reallocate that memory to corrupt kernel state. Because the driver runs in ring 0, successful reuse of the dangling pointer translates directly into kernel-mode code execution or arbitrary read/write, which is why the SSVC technical impact is rated total. The CPE set spans microsoft:windows_10 (1607/1809/21H2/22H2), windows_11 (24H2/25H2/26H1), and windows_server 2012 through 2025, indicating the vulnerable code path is present across essentially the whole modern Windows lineage.
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:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local access with a low-privileged foothold required (AV:L/PR:L), no user interaction, and kernel-mode UAF yielding SYSTEM gives total C/I/A impact within an unchanged scope.
Primary rating from Vendor (microsoft).
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
Use after free in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.
Executive ViewAI
CVE-2026-57093 is a local privilege escalation in the Windows Ancillary Function Driver (afd.sys) affecting all supported Windows versions from Server 2012 through Windows 11 and Server 2025, allowing authenticated users to escalate to SYSTEM-level access. While no public exploit code has been identified and active exploitation remains uncommon (EPSS 0.3%), the vulnerability impacts the entire Windows infrastructure and carries high technical severity due to kernel-level code execution capability.
Apply vendor patch.
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-44274
GHSA-c6cq-5j33-j5wh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB