← Vulnerability feed

Vulnerability record · CVE-2023-21768 · published 10 January 2023

CVE-2023-21768: Windows Ancillary Function Driver for WinSock elevation of privilege

Microsoft · Windows 11

The Windows Ancillary Function Driver for WinSock (afd.sys) contains an elevation of privilege flaw. A local attacker with low privileges can exploit it to gain full control of the affected system. The record gives no root-cause detail beyond a CWE-822 (untrusted pointer dereference) mapping and an NVD no-info entry, so the exact defect is not described.

7.8 CVSS 3.1 High EPSS 65% · top 0.8% CWE-822 · CWE-822
7.8CVSS 3.1 base score
65%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

Description

Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityLocal privilege escalation to SYSTEM with a 7.8 CVSS and very high EPSS, though not in KEV and requiring existing local access.

What it is

The Windows Ancillary Function Driver for WinSock (afd.sys) contains an elevation of privilege flaw. A local attacker with low privileges can exploit it to gain full control of the affected system. The record gives no root-cause detail beyond a CWE-822 (untrusted pointer dereference) mapping and an NVD no-info entry, so the exact defect is not described.

Impact

An attacker gains high confidentiality, integrity and availability impact, effectively SYSTEM-level control over the host. This enables credential theft, disabling of security controls and lateral movement from an already-compromised account.

Attack surface

Reached locally (AV:L) with low privileges required (PR:L) and no user interaction (UI:N). The attacker must already have code execution on the target Windows 11 or Windows Server 2022 host.

Exploitation

Not listed in CISA KEV and no ransomware association is recorded, but EPSS is very high at 0.654 (99.2nd percentile), indicating strong likelihood of exploitation activity. The two references are both the Microsoft update guide with no exploit tags.

What to do

  • Apply the Microsoft January 2023 security update for CVE-2023-21768 on Windows 11 and Windows Server 2022.
  • Prioritize patching of endpoints and servers where untrusted or low-privileged users can run code.
  • Enforce least privilege and remove unnecessary local admin rights to reduce the pool of accounts that can reach the driver.
  • Monitor for suspicious afd.sys-related activity and unexpected SYSTEM-level process creation from low-privileged contexts.

Detection

  • Alert on process creation where a low-privileged parent spawns a SYSTEM-integrity child, especially involving afd.sys or WinSock-related handles.
  • Track EDR telemetry for anomalous driver interaction and token manipulation on Windows 11 and Server 2022 hosts.
  • Correlate local privilege escalation attempts with subsequent credential access or defense-evasion behavior.
  • Audit patch state of Windows 11 and Windows Server 2022 assets against the January 2023 update.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-21768 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-33824Double free in Windows IKE Extension enables remote code executionA double free flaw (CWE-415) exists in the Windows IKE Extension, reachable over the network by an unauthenticated attacker. Successful exploitation …KEVEPSS 1.6%analysed9.8CVE-2025-59287Microsoft WSUS deserialization flaw allows unauthenticated remote code executionWindows Server Update Service (WSUS) deserializes untrusted data, letting an unauthenticated network attacker run code on the server. The flaw is rat…KEVEPSS 100%analysed8.8CVE-2026-21510Windows Shell protection mechanism failure allows security feature bypassWindows Shell contains a protection mechanism failure (CWE-693) that lets an unauthorized attacker bypass a security feature over a network. The flaw…KEVEPSS 24%analysed8.8CVE-2026-21513Microsoft MSHTML security feature bypass on WindowsCVE-2026-21513 is a protection mechanism failure (CWE-693) in the Microsoft MSHTML Framework that lets an unauthorized attacker bypass a security fea…KEVEPSS 16%analysed8.8CVE-2025-33073Windows SMB improper access control allows privilege elevationWindows SMB contains an improper access control flaw (CWE-284) that lets an authorized attacker elevate privileges over the network. Microsoft rates …KEVEPSS 83%analysed8.8CVE-2025-33053Microsoft Windows WebDAV Internet Shortcut File Path Control RCEWindows Internet Shortcut (.url) files allow external control of a file name or path, which an unauthorized attacker can abuse to execute code over a…KEVEPSS 87%analysed8.8CVE-2024-49039Windows Task Scheduler elevation of privilege via improper authenticationCVE-2024-49039 is an elevation of privilege flaw in the Windows Task Scheduler, classified as improper authentication (CWE-287). A local attacker wit…KEVEPSS 14%analysed8.8CVE-2024-43461Windows MSHTML Platform spoofing flaw enables code executionCVE-2024-43461 is a spoofing vulnerability in the Windows MSHTML platform, the legacy rendering engine still reachable through Windows components. Th…KEVEPSS 54%analysed

Source: NIST National Vulnerability Database (record CVE-2023-21768), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.