Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with user-level privileges
-
ExploitTrigger use-after-free in Ancillary Function Driver
-
ExecutionCorrupt heap memory structures
-
ImpactExecute arbitrary code with system privileges
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 | Local user account required with ability to interact with Windows Ancillary Function Driver for WinSock (afd.sys). Exploitation requires specific timing and heap layout conditions. No network access involved. |
| Impact | Real-world risk is moderate despite the 7.0 CVSS score, constrained by multiple exploitation barriers. The CVSS vector (AV:L/AC:H/PR:L/UI:N) indicates attackers must already have local authenticated access with low privileges and overcome high attack complexity, likely requiring race condition exploitation or precise timing to win the use-after-free window. The AC:H designation suggests reliable exploitation demands specialized techniques beyond simple API calls. No public exploit identified at time of analysis and absence from CISA KEV indicates this is not yet weaponized in active campaigns. However, the broad affected product range (all supported Windows versions) and complete impact triad (C:H/I:H/A:H) mean successful exploitation yields full SYSTEM privileges, enabling total host compromise including credential theft, persistence installation, and lateral movement preparation. This represents a valuable post-exploitation primitive for sophisticated attackers who have achieved initial access through other vectors (phishing, application exploits). Patch availability from Microsoft substantially reduces risk for organizations with functional patch management, shifting this from critical urgency to standard monthly patching priority. Organizations should prioritize patching for high-value targets (domain controllers, sensitive data servers) while treating this as a defense-in-depth concern rather than an imminent breach vector for standard endpoints. |
| Exploit ScenarioDerived | An authenticated local user exploits a use-after-free vulnerability in afd.sys through carefully timed API calls to corrupt kernel heap memory. By controlling freed memory reuse, the attacker achieves arbitrary code execution at SYSTEM level, escalating privileges from user account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 14, 2026
Local privilege escalation in the Windows Ancillary Function Driver for WinSock (AFD.sys) affects all Windows 10, Windows 11, and Windows Server versions from 2012 through 2025 via a use-after-free memory corruption flaw. Authenticated local attackers with low privileges can exploit this CWE-416 vulnerability to achieve full system compromise (SYSTEM-level access), though the high attack complexity (AC:H) suggests exploitation requires precise timing or race condition manipulation. No public exp
Earlier versions of this analysis (1)
Local privilege escalation in the Windows Ancillary Function Driver for WinSock (AFD.sys) affects all Windows 10, Windows 11, and Windows Server versions from 2012 through 2025 via a use-after-free memory corruption flaw. Authenticated local attackers with low privileges can exploit this CWE-416 vulnerability to achieve full system compromise (SYSTEM-level access), though the high attack complexity (AC:H) suggests exploitation requires precise timing or race condition manipulation. No public exploit identified at time of analysis, with CVSS 7.0 reflecting the local attack vector and authentication requirement that limit immediate widespread risk.
RemediationAI
Apply Microsoft security updates immediately through Windows Update or WSUS to patch the vulnerable AFD.sys driver. Fixed versions are Windows 10 1607/Server 2016 build 10.0.14393.9060 or later, Windows 10 1809/Server 2019 build 10.0.17763.8644 or later, Windows 10 21H2 build 10.0.19044.7184 or later, Windows 10 22H2 build 10.0.19045.7184 or later, Windows 11 22H3/23H2 build 10.0.22631.6936 or later, Windows 11 24H2/Server 2025 build 10.0.26100.32690 or later, Windows 11 25H2 build 10.0.26200.8246 or later, Windows 11 26H1 build 10.0.28000.1836 or later, Windows Server 2022 build 10.0.20348
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 36 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 Windows Ancillary Function Driver for WinSock (AFD.sys) is a kernel-mode driver that provides low-level network socket services and handles Winsock operations at the kernel level. This CWE-416 use-after-free vulnerability occurs when the driver incorrectly manages memory object lifecycles, allowing a pointer to reference freed memory. When triggered through specific socket API calls or I/O control codes (IOCTLs), the driver may reuse freed memory for a new allocation, enabling an attacker to control data at that memory location. Successful exploitation allows overwriting kernel memory structures to redirect code execution flow, typical of kernel-mode UAF primitives. The affected CPE strings span the entire modern Windows ecosystem: Windows 10 versions 1607 through 22H2 (builds 10.0.14393.x through 10.0.19045.x), all Windows 11 versions from 22H3 through 26H1 (builds 10.0.22631.x through 10.0.28000.x), and Windows Server editions from 2012 (6.2.9200.x) through Server 2025 (10.0.26100.x), including Server Core installations. The kernel-mode nature and breadth of affected versions underscore the fundamental role AFD.sys plays across the Windows networking stack.
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: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.
Executive ViewAI
CVE-2026-27922 is a local privilege escalation vulnerability in Windows AFD.sys affecting Windows 10, 11, and Server 2012-2025, allowing authenticated users with low privileges to gain SYSTEM-level access through memory corruption. While patch availability limits risk exposure, the broad Windows version scope and post-authentication exploitation path create material risk to internal threat models where insider or compromised account scenarios are relevant.
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-22469
GHSA-2qwh-pgh7-pj9g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB