CVE-2026-50312
Analyzed Analyzed - Analysis Complete

Use After Free in Windows Ancillary Function Driver for WinSock

Vulnerability report for CVE-2026-50312, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-14

Last updated on: 2026-07-22

Assigner: Microsoft Corporation

Description

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-14
Last Modified
2026-07-22
Generated
2026-08-04
AI Q&A
2026-07-14
EPSS Evaluated
2026-08-02
NVD
EUVD

Affected Vendors & Products

Showing 22 associated CPEs
Vendor Product Version / Range
microsoft windows_server_2012 r2
microsoft windows_server_2012 *
microsoft windows_11_26h1 to 10.0.28000.2269 (exc)
microsoft windows_10_1607 to 10.0.14393.9339 (exc)
microsoft windows_10_1607 to 10.0.14393.9339 (exc)
microsoft windows_10_1809 to 10.0.17763.9020 (exc)
microsoft windows_10_1809 to 10.0.17763.9020 (exc)
microsoft windows_server_2016 to 10.0.14393.9339 (exc)
microsoft windows_server_2019 to 10.0.17763.9020 (exc)
microsoft windows_server_2022 to 10.0.20348.5386 (exc)
microsoft windows_server_2025 to 10.0.26100.33158 (exc)
microsoft windows_11_26h1 to 10.0.28000.2525 (exc)
microsoft windows_11_24h2 to 10.0.26100.8875 (exc)
microsoft windows_11_24h2 to 10.0.26100.8875 (exc)
microsoft windows_10_21h2 to 10.0.19044.7548 (exc)
microsoft windows_10_21h2 to 10.0.19044.7548 (exc)
microsoft windows_10_21h2 to 10.0.19044.7548 (exc)
microsoft windows_10_22h2 to 10.0.19045.7548 (exc)
microsoft windows_10_22h2 to 10.0.19045.7548 (exc)
microsoft windows_10_22h2 to 10.0.19045.7548 (exc)
microsoft windows_11_25h2 to 10.0.26200.8875 (exc)
microsoft windows_11_25h2 to 10.0.26200.8875 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-50312 is a use-after-free vulnerability in the Windows Ancillary Function Driver for WinSock (AFD). This flaw occurs when the driver improperly handles memory after it has been freed, allowing an attacker to exploit the dangling pointer to execute arbitrary code or manipulate system behavior.

An authorized attacker with local access to the system can exploit this vulnerability to elevate their privileges. This means the attacker could gain higher-level permissions, such as administrative rights, on the affected Windows system.

Detection Guidance

The provided context does not include specific detection methods or commands for identifying the presence of CVE-2026-50312 on a network or system. Detection typically involves checking for vulnerable versions of the Windows Ancillary Function Driver for WinSock or applying security updates provided by Microsoft.

To verify if your system is vulnerable, you may check the installed updates or patches related to this CVE via Windows Update history or by using system management tools. Microsoft may also provide guidance in their security update documentation.

Impact Analysis

If exploited, this vulnerability could have several impacts on you or your organization:

  • Privilege escalation: An attacker with local access could gain elevated privileges, allowing them to perform actions they would not normally be authorized to do, such as installing software, accessing restricted data, or modifying system configurations.
  • System compromise: With elevated privileges, an attacker could take full control of the affected system, potentially leading to data theft, system damage, or further lateral movement within a network.
  • Security bypass: The vulnerability could be used to bypass security mechanisms that rely on proper privilege separation, undermining the overall security posture of the system.
Compliance Impact

This vulnerability could impact compliance with several common standards and regulations in the following ways:

  • GDPR (General Data Protection Regulation): If the vulnerability leads to unauthorized access to personal data, it could result in a data breach. Under GDPR, organizations must implement appropriate security measures to protect personal data. Failure to patch this vulnerability or mitigate its risks could be seen as a violation of Article 32 (security of processing), leading to potential fines or legal consequences.
  • HIPAA (Health Insurance Portability and Accountability Act): For organizations handling protected health information (PHI), this vulnerability could lead to unauthorized access or disclosure of PHI. HIPAA requires covered entities to implement safeguards to protect PHI, and a breach resulting from this vulnerability could violate the Security Rule, leading to penalties.
  • Other standards (e.g., ISO 27001, NIST): Many compliance frameworks require organizations to maintain secure systems and address vulnerabilities promptly. Failure to patch or mitigate this vulnerability could result in non-compliance with requirements related to vulnerability management, access control, and system integrity.

To maintain compliance, organizations should apply the necessary patches or mitigations provided by Microsoft to address this vulnerability.

Mitigation Strategies

To mitigate CVE-2026-50312, apply the security update provided by Microsoft as soon as possible. The update addresses the use-after-free vulnerability in the Windows Ancillary Function Driver for WinSock.

  • Visit the Microsoft Update Guide for CVE-2026-50312 to download and install the latest patch.
  • Ensure all systems running affected versions of Windows are updated to the latest secure version.
  • Restrict local access to authorized users only, as the vulnerability requires local access to exploit.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-50312. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart