Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-priv local access
  2. Delivery
    Run crafted Winsock syscalls to afd.sys
  3. Exploit
    Trigger use-after-free on kernel object
  4. Execution
    Reallocate and control freed memory
  5. Persist
    Corrupt kernel structures
  6. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Jul 14, 2026 - 18:58 CVSS 7.0

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

Windows 10 Version 1607 10.0.14393.0 <10.0.14393.9339
Windows 10 Version 21H2 10.0.19044.0 <10.0.19044.7548
Windows 11 Version 24H2 10.0.26100.0 <10.0.26100.8875
Windows Server 2016 10.0.14393.0 <10.0.14393.9339
Windows Server 2016 (Server Core installation) 10.0.14393.0 <10.0.14393.9339
Windows Server 2019 10.0.17763.0 <10.0.17763.9020
Windows Server 2025 (Server Core installation) 10.0.26100.0 <10.0.26100.33158
Windows Server 2012 6.2.9200.0 <6.2.9200.26226
Windows 11 version 26H1 10.0.28000.0 <10.0.28000.2525
Windows Server 2019 (Server Core installation) 10.0.17763.0 <10.0.17763.9020
Windows Server 2012 R2 6.3.9600.0 <6.3.9600.23291
Windows Server 2025 10.0.26100.0 <10.0.26100.33158
Windows 10 Version 1809 10.0.17763.0 <10.0.17763.9020
Windows 10 Version 22H2 10.0.19045.0 <10.0.19045.7548
Windows Server 2012 (Server Core installation) 6.2.9200.0 <6.2.9200.26226
Windows Server 2022 10.0.20348.0 <10.0.20348.5386
Windows Server 2012 R2 (Server Core installation) 6.3.9600.0 <6.3.9600.23291
Windows 11 Version 25H2 10.0.26200.0 <10.0.26100.8875

Affected Packages

euvd windows_10_version_1607 fix: 10.0.14393.9339
euvd windows_10_version_1809 fix: 10.0.17763.9020
euvd windows_10_version_21h2 fix: 10.0.19044.7548
euvd windows_10_version_22h2 fix: 10.0.19045.7548
euvd windows_11_version_24h2 fix: 10.0.26100.8875
euvd windows_11_version_25h2 fix: 10.0.26100.8875
euvd windows_11_version_26h1 fix: 10.0.28000.2525
euvd windows_server_2012 fix: 6.2.9200.26226
euvd windows_server_2012_r2 fix: 6.3.9600.23291
euvd windows_server_2012_r2_server_core_installation fix: 6.3.9600.23291
euvd windows_server_2012_server_core_installation fix: 6.2.9200.26226
euvd windows_server_2016 fix: 10.0.14393.9339
euvd windows_server_2016_server_core_installation fix: 10.0.14393.9339
euvd windows_server_2019 fix: 10.0.17763.9020
euvd windows_server_2019_server_core_installation fix: 10.0.17763.9020
euvd windows_server_2022 fix: 10.0.20348.5386
euvd windows_server_2025 fix: 10.0.26100.33158
euvd windows_server_2025_server_core_installation fix: 10.0.26100.33158

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

Vendor (microsoft) PRIMARY HIGH
NVD 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (microsoft).

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Jul 17, 2026 - 15:13 vuln.today
v2 - CVSS changed
CVSS changed
Jul 17, 2026 - 15:07 NVD
7.0 (HIGH) 7.8 (HIGH)
CVE Published
Jul 14, 2026 - 17:09 nvd
HIGH 7.0

DescriptionNVD

Use after free in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Ubiquitous
Core Winsock kernel driver present in every supported Windows install
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2021-40444 HIGH POC
8.8 Sep 15

Windows MSHTML component contains a remote code execution vulnerability that allows attackers to craft malicious ActiveX

CVE-2021-34527 HIGH POC
8.8 Jul 02

<p>A remote code execution vulnerability exists when the Windows Print Spooler service improperly performs privileged fi

CVE-2017-0199 HIGH POC
7.8 Apr 12

Remote code execution in Microsoft Office 2007-2016 and Windows Vista through 10 allows attackers to execute arbitrary c

CVE-2022-30190 HIGH POC
7.8 Jun 01

Windows MSDT (Microsoft Support Diagnostic Tool) allows remote code execution when called via the ms-msdt URL protocol f

CVE-2017-0147 HIGH POC
7.5 Mar 17

The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows

CVE-2018-8174 HIGH POC
7.5 May 09

The Windows VBScript engine contains a remote code execution vulnerability in object handling that allows full system co

CVE-2021-1675 HIGH POC
7.8 Jun 08

Windows Print Spooler Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no auth

CVE-2016-7255 HIGH POC
7.8 Nov 10

The Win32k kernel-mode driver in Windows Vista through Windows Server 2016 allows local privilege escalation, exploited

CVE-2023-36884 HIGH POC
7.5 Jul 11

Windows Search Remote Code Execution Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely explo

CVE-2019-1458 HIGH POC
7.8 Dec 10

An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in

CVE-2018-8453 HIGH POC
7.8 Oct 10

An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in

CVE-2021-42278 HIGH POC
7.5 Nov 10

Active Directory Domain Services Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.5), this vulnerabilit

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy