Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish network reachability to target Windows host
-
DeliverySend crafted WinSock socket requests to trigger UAF in afd.sys
-
ExploitGroom kernel heap to control freed object reuse
-
ExecutionRedirect kernel execution via stale pointer
-
PersistExecute code in kernel (SYSTEM) context
-
ImpactFull system compromise
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 | The vulnerable code path in afd.sys is reachable via network socket activity (AV:N), requiring no prior authentication (PR:N) and no victim user interaction (UI:N). The primary limiting factor is attack complexity (AC:H): reliable UAF exploitation demands precise kernel heap manipulation - typically a specific sequence of allocations and frees to position attacker-controlled data in the freed memory slot, or exploitation of a race condition window - making this non-trivial and non-automatable at scale. No special non-default configuration of WinSock or Windows networking is required; WinSock is enabled by default on all Windows systems. Exploitation is not limited to any specific port or protocol beyond generic TCP/IP socket usage. |
| Impact | The CVSS 8.1 score (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects a genuine high-severity flaw: network-reachable, no authentication, no user interaction needed, and full C/I/A impact if exploitation succeeds. The moderating factor is AC:H - kernel UAF exploitation requires reliable heap grooming or race-condition timing, making casual mass exploitation unlikely, consistent with SSVC Automatable: no. SSVC Exploitation: none and the absence of KEV or public POC confirm no widespread in-the-wild activity is known. Despite the AC:H cap, the breadth of affected versions - every major Windows release including end-of-extended-support Server 2012 - and SSVC Technical Impact: total mean that any organisation that has not applied the Patch Tuesday update should treat remediation as urgent; even a mid-sized municipal IT team managing a mixed-version estate should treat this as urgent given the SYSTEM-level prize a successful exploit delivers. The 'Denial Of Service' tag in the source metadata appears to reflect a potential secondary crash impact of the UAF (kernel panic/BSOD) rather than the primary described impact of privilege escalation; this does not alter the overall priority. |
| Exploit ScenarioDerived | An attacker with network access to a target Windows host sends specially crafted WinSock socket requests designed to trigger a race condition or memory-layout sequence that causes afd.sys to dereference a freed kernel object. By controlling the heap memory that fills the freed slot, the attacker redirects kernel execution to shellcode or a ROP chain, achieving SYSTEM-level code execution and full control of the host. No public proof-of-concept code has been identified, and the AC:H rating reflects that this attack requires non-trivial kernel heap grooming to execute reliably. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Use-after-free in the Windows Ancillary Function Driver for WinSock (afd.sys) allows network-reachable unauthenticated attackers to elevate privileges to SYSTEM level on affected Windows hosts. The vulnerability spans a broad surface - every supported Windows release from Server 2012 through Windows 11 25H2 and Server 2025 is confirmed affected. SSVC rates exploitation status as none and the attack as non-automatable, but technical impact is total, meaning successful exploitation yields full system compromise. No public exploit or KEV listing has been identified at time of analysis.
RemediationAI
Apply the vendor-released security update for the installed Windows version immediately via Windows Update, WSUS, or Microsoft Update Catalog. Fix build thresholds are: Server 2025 / Win 11 24H2/25H2 → 10.0.26100.33438; Win 11 26H1 → 10.0.28000.2954; Win 11 23H2 → 10.0.22631.7582; Server 2022 → 10.0.20348.5622; Server 2019 / Win 10 1809 → 10.0.17763.9245; Win 10 22H2 → 10.0.19045.7725; Win 10 21H2 → 10.0.19044.7725; Server 2016 / Win 10 1607 → 10.0.14393.9512; Server 2012 → 6.2.9200.26349; Server 2012 R2 → 6.3.9600.23397. Where patching is not immediately possible, consider network-level controls to limit untrusted external access to the WinSock-exposed attack surface (e.g., firewall rules restricting inbound connections to sensitive servers), though this is not a substitute for patching and may not block internal-network attackers. Server 2012/2012 R2 are past end of extended support; organisations receiving the patch are likely under Extended Security Updates (ESU) - verify ESU enrollment status. Full advisory details: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70342.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 19 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 Windows Ancillary Function Driver that implements the WinSock API, brokering socket I/O between user-mode applications and the TCP/IP stack. CWE-416 (Use After Free) arises when a kernel object tied to a socket operation is freed while a concurrent network-triggered code path retains a stale pointer to it. An attacker who can shape heap memory layout and trigger the freed object's reuse can redirect execution to attacker-controlled data inside the Windows kernel - the highest privilege context on the system. The CVSS vector AV:N reflects that the vulnerable code path is reachable via network socket activity without requiring local shell access or a pre-existing session; AC:H acknowledges that reliable UAF exploitation typically requires precise memory-layout control or race-condition timing. The full C:H/I:H/A:H impact set maps to the complete control an attacker gains by executing code at kernel (SYSTEM) privilege.
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:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable UAF without authentication; AC:H reflects kernel heap-grooming requirement; C/I/A:H reflects SYSTEM-level privilege escalation on the vulnerable host.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
Lifecycle Timeline
2DescriptionCVE.org
Use after free in Windows Ancillary Function Driver for WinSock allows an unauthorized attacker to elevate privileges over a network.
Executive ViewAI
CVE-2026-70342 is a critical privilege escalation vulnerability affecting all Windows Server (2012-2025) and Windows 11 systems that enables remote unauthenticated attackers to achieve complete system compromise. This vulnerability creates an enterprise-wide infrastructure risk requiring immediate patching across all Windows deployments. While no public exploits have been identified, the vulnerability's severity and broad exposure demand urgent remediation to prevent potential system takeover and data compromise.
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 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-73076
GHSA-xfxq-cr26-x4w9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB