Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-70195 Overview
CVE-2026-70195 is a use-after-free vulnerability in the Windows Ancillary Function Driver for WinSock (afd.sys). An authorized local attacker can exploit the flaw to disclose sensitive kernel memory contents. Microsoft classifies the issue under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition), indicating that successful exploitation requires winning a timing window between concurrent operations on the driver.
The flaw affects local attack vectors only and does not permit remote exploitation or code execution. Microsoft published the advisory in its October 2026 security update guide.
Critical Impact
Local information disclosure from kernel memory, which can expose data useful for chaining with other vulnerabilities to achieve privilege escalation.
Affected Products
- Windows Ancillary Function Driver for WinSock (afd.sys)
- Supported Windows client versions receiving the October 2026 security update
- Supported Windows Server versions receiving the October 2026 security update
Discovery Timeline
- 2026-10-13 - CVE-2026-70195 published to the National Vulnerability Database
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-70195
Vulnerability Analysis
The Ancillary Function Driver for WinSock (afd.sys) is a kernel-mode driver that provides the user-mode WinSock API with access to the Windows networking stack. The driver exposes IOCTL interfaces that user-mode processes invoke through socket operations.
CVE-2026-70195 is a use-after-free condition triggered by a race condition between concurrent threads interacting with shared driver state. When one thread frees an object while another thread still holds a reference, the second thread can read memory that has been reallocated to a different kernel structure. The attacker leverages this to read uninitialized or repurposed kernel memory and leak its contents to user mode.
Exploitation requires valid local credentials and high attack complexity due to the timing window involved. The vulnerability does not permit modification of data or disruption of service, only disclosure of information.
Root Cause
The root cause is improper synchronization of a shared resource inside afd.sys [CWE-362]. One execution path releases an allocation while another path continues to dereference the same pointer, resulting in a use-after-free read of kernel memory.
Attack Vector
An authenticated local attacker runs code that issues concurrent WinSock operations crafted to trigger the race. The attacker repeatedly sprays kernel allocations to place controlled or sensitive data into the freed slot, then reads the stale reference to exfiltrate the contents to user mode.
No verified public proof-of-concept code is available at the time of publication. Refer to the Microsoft Security Update Guide for CVE-2026-70195 for authoritative technical detail.
Detection Methods for CVE-2026-70195
Indicators of Compromise
- Unexpected processes performing high-frequency AFD.sys IOCTL calls or rapid socket open/close cycles from the same process.
- Repeated kernel pool allocations and frees originating from a single low-privileged user context.
- Processes reading large volumes of socket metadata without corresponding network traffic.
Detection Strategies
- Monitor for anomalous WinSock usage patterns consistent with race-condition exploitation, including thread races against the same socket handle.
- Correlate local user activity with unusual kernel allocation telemetry sourced from Event Tracing for Windows (ETW) kernel providers.
- Alert on unsigned or newly introduced binaries that interact directly with \\Device\\Afd outside of standard application frameworks.
Monitoring Recommendations
- Enable Microsoft Defender Attack Surface Reduction rules that block untrusted processes from making low-level system calls where feasible.
- Forward Sysmon process creation and image load events to a central analytics platform and baseline normal WinSock consumers.
- Review audit logs for local logons preceding spikes in socket IOCTL activity on sensitive hosts.
How to Mitigate CVE-2026-70195
Immediate Actions Required
- Apply the October 2026 Microsoft security update that remediates CVE-2026-70195 to all supported Windows client and server systems.
- Prioritize patching on multi-user systems, jump hosts, and terminal servers where local accounts are most likely to be abused.
- Audit local account inventories and remove unnecessary interactive logon rights on sensitive systems.
Patch Information
Microsoft published the fix in its October 2026 security update. Consult the Microsoft Security Update Guide for CVE-2026-70195 for the complete list of affected builds and the corresponding KB article numbers for each supported Windows version.
Workarounds
- No vendor-supplied workaround is published; applying the security update is the supported mitigation.
- Restrict local logon rights and enforce least privilege to reduce the pool of accounts that can trigger the race.
- Deploy application control policies such as Windows Defender Application Control to block execution of unauthorized binaries that could invoke the vulnerable IOCTL path.
# Verify the October 2026 cumulative update is installed on Windows
wmic qfe list brief /format:table
# PowerShell equivalent with install date
Get-HotFix | Sort-Object -Property InstalledOn -Descending | Select-Object -First 10
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

