Skip to main content
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privileged local access
  2. Delivery
    Run crafted WinSock socket sequence
  3. Exploit
    Trigger use-after-free in afd.sys
  4. Execution
    Reclaim freed kernel object
  5. Persist
    Corrupt kernel memory / token
  6. Impact
    Execute 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 host with at least low privileges (CVSS PR:L) and the ability to execute code that makes WinSock/socket syscalls into afd.sys - i.e., this is a post-access privilege-escalation primitive, not remotely reachable. No user interaction is required (UI:N) and no special non-default configuration is needed, since afd.sys is present and active in all supported Windows installations by default. The principal limiting factors are the local attack vector (an attacker must first obtain a foothold on the machine) and the need for the low-privilege authenticated context; there is no network-facing exposure.

Impact

The CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects local access with low privileges but total impact on confidentiality, integrity, and availability - consistent with SSVC 'Technical Impact: total.' However, the real-world urgency signals are moderate rather than severe: SSVC rates Exploitation as 'none' and Automatable as 'no,' EPSS is low at 0.31% (23rd percentile), and there is no CISA KEV listing or public POC. This is a classic reliable-but-not-yet-exploited local EoP: it requires an attacker to already have code execution on the host, so it is a chaining/post-compromise primitive rather than an initial-access or wormable threat. It should be patched on the normal-to-priority cycle given afd.sys's history of being weaponized once details emerge, but it is not an emergency drop-everything issue today. No signal conflicts are present - the local vector aligns with the description's 'elevate privileges locally.'

Exploit ScenarioDerived

An attacker who already has a low-privileged foothold on a Windows host - for example through a phished user account or a compromised service - runs a crafted program that issues a specific sequence of WinSock socket operations to trigger the use-after-free in afd.sys, reclaims the freed kernel object with attacker-controlled data, and elevates to SYSTEM. From there they disable defenses, harvest credentials, and move laterally. No public exploit code is identified at time of analysis, but afd.sys UAF bugs are historically turned into reliable exploits.

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

AnalysisAIv1 – Jul 22, 2026

Local privilege escalation in the Windows Ancillary Function Driver for WinSock (afd.sys) allows an authenticated low-privileged attacker to gain SYSTEM-level control by triggering a use-after-free condition in the kernel networking driver. The flaw affects a broad range of Windows client and server releases from Windows 10 1607 through Windows 11 26H1 and Windows Server 2012 through Server 2025. Reported by Microsoft with a vendor patch available; no public exploit identified at time of analysis, and EPSS exploitation probability is low (0.31%).

RemediationAI

Apply the Microsoft security update for CVE-2026-50312 via the MSRC Update Guide (https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50312); patch to at least the fixed builds for your edition - for example Windows 11 24H2 10.0.26100.8875, Windows 10 22H2 10.0.19045.7548, Windows Server 2022 10.0.20348.5386, Server 2025 10.0.26100.33158, Server 2019 10.0.17763.9020, Server 2016/10.0.14393.9339, Server 2012 6.2.9200.26226, and Server 2012 R2 6.3.9600.23291. Vendor-released patch is available and is the definitive fix. Because afd.sys is a core kernel component with no configuration toggle, there is no clean disable-the-feature workaround; the practical compensating controls are to enforce least privilege so untrusted users cannot run arbitrary code locally, apply application allowlisting to block unknown binaries, and enable attack-surface-reduction and EDR kernel-exploit detections to catch UAF exploitation attempts. These controls reduce but do not eliminate risk and should be treated as interim measures until patching is complete.

Affected VersionsENISA

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

Affected Packages

microsoft windows_10_version_1607_10_0_14393_9339 fix: Windows 10 Version 1607 for 32-bit Systems 10.0.14393.9339, Windows 10 Version 1607 for x64-based Systems 10.0.14393.9339
microsoft windows_10_version_1809_10_0_17763_9020 fix: Windows 10 Version 1809 for 32-bit Systems 10.0.17763.9020, Windows 10 Version 1809 for x64-based Systems 10.0.17763.9020
microsoft windows_10_version_21h2_10_0_19044_7548 fix: Windows 10 Version 21H2 for 32-bit Systems 10.0.19044.7548, Windows 10 Version 21H2 for ARM64-based Systems 10.0.19044.7548, Windows 10 Version 21H2 for x64-based Systems 10.0.19044.7548
microsoft windows_10_version_22h2_10_0_19045_7548 fix: Windows 10 Version 22H2 for 32-bit Systems 10.0.19045.7548, Windows 10 Version 22H2 for ARM64-based Systems 10.0.19045.7548, Windows 10 Version 22H2 for x64-based Systems 10.0.19045.7548
microsoft windows_11_version_24h2_10_0_26100_8875 fix: Windows 11 Version 24H2 for ARM64-based Systems 10.0.26100.8875, Windows 11 Version 24H2 for x64-based Systems 10.0.26100.8875
microsoft windows_11_version_25h2_10_0_26200_8875 fix: Windows 11 Version 25H2 for ARM64-based Systems 10.0.26200.8875, Windows 11 Version 25H2 for x64-based Systems 10.0.26200.8875
microsoft windows_11_version_26h1_10_0_28000_2269 fix: Windows 11 version 26H1 for x64-based Systems 10.0.28000.2269
microsoft windows_11_version_26h1_10_0_28000_2525 fix: Windows 11 Version 26H1 for ARM64-based Systems 10.0.28000.2525
microsoft windows_server_2012_6_2_9200_26226 fix: Windows Server 2012 6.2.9200.26226, Windows Server 2012 (Server Core installation) 6.2.9200.26226
microsoft windows_server_2012_r2_6_3_9600_23291 fix: Windows Server 2012 R2 6.3.9600.23291, Windows Server 2012 R2 (Server Core installation) 6.3.9600.23291
microsoft windows_server_2016_10_0_14393_9339 fix: Windows Server 2016 10.0.14393.9339, Windows Server 2016 (Server Core installation) 10.0.14393.9339
microsoft windows_server_2019_10_0_17763_9020 fix: Windows Server 2019 10.0.17763.9020, Windows Server 2019 (Server Core installation) 10.0.17763.9020
microsoft windows_server_2022_10_0_20348_5386 fix: Windows Server 2022 10.0.20348.5386
microsoft windows_server_2025_10_0_26100_33158 fix: Windows Server 2025 10.0.26100.33158, Windows Server 2025 (Server Core installation) 10.0.26100.33158
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.26200.8875
euvd windows_11_version_26h1 fix: 10.0.28000.2269
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 32 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 Ancillary Function Driver (AFD.sys) is the kernel-mode driver that underpins the Windows Sockets (WinSock) API, mediating user-mode socket calls into the transport stack. It is a long-standing, high-value privilege-escalation target because it is reachable from unprivileged user code yet executes in kernel context. The root cause is CWE-416 (Use After Free): the driver continues to reference a kernel object after it has been freed, allowing a crafted sequence of socket operations to reclaim and manipulate the stale allocation. Controlling the freed object's memory lets an attacker corrupt kernel structures and redirect execution or falsify security tokens.

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 MEDIUM
NVD 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CIRCL (temporal) 4.1 MEDIUM
vuln.today AI 7.8 HIGH

Local post-access EoP requiring a low-privilege authenticated context (AV:L/PR:L), no user interaction, reliable UAF trigger (AC:L), yielding full SYSTEM control (C/I/A:H).

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

4
Severity Changed
Jul 16, 2026 - 19:52 NVD
MEDIUM HIGH
CVSS changed
Jul 16, 2026 - 19:52 NVD
4.7 (MEDIUM) 7.8 (HIGH)
CVE Published
Jul 14, 2026 - 17:06 nvd
MEDIUM 4.7
CVE Published
Jul 14, 2026 - 17:06 nvd
HIGH 7.8

DescriptionNVD

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

Executive ViewAI

Why It Matters

Any authenticated local user can exploit CVE-2026-50312 in Windows to gain SYSTEM-level control, creating an insider risk vector across your entire Windows 10, 11, and Windows Server estate (2012-2025). While no active exploitation has been observed and vendor patches are available, the broad exposure and high severity rating necessitate immediate asset discovery and phased remediation to prevent privilege escalation and lateral movement.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Ubiquitous
afd.sys ships in every supported Windows client and server edition
Vendor Action
See Below
Required. The vulnerability documented by this CVE requires customer action to resolve.
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
5 sources
Confidence: Medium

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