← Vulnerability feed

Vulnerability record · CVE-2024-38193 · published 13 August 2024

CVE-2024-38193: Windows AFD.sys use-after-free local privilege escalation

Microsoft · Windows 10 1507

The Windows Ancillary Function Driver for WinSock (afd.sys) contains a use-after-free (CWE-416) that lets a local user elevate privileges to SYSTEM. It affects a broad set of Windows 10, Windows 11 and Windows Server releases, and Microsoft patched it in the August 2024 update. Because it is a kernel driver flaw reachable by any logged-on user, it is a standard building block for post-compromise escalation.

7.8 CVSS 3.1 High CISA KEV since 13 Aug 2024 EPSS 29% · top 1.9% CWE-416 · Use after free
7.8CVSS 3.1 base score
29%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
15Affected product versions listed by NVD
3References, 1 tagged exploit
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 17 September 2026. Confidence: high.

high priorityIt is a KEV-listed, publicly exploited local privilege-escalation flaw with high EPSS, but it requires an existing low-privileged foothold rather than being remotely exploitable.

What it is

The Windows Ancillary Function Driver for WinSock (afd.sys) contains a use-after-free (CWE-416) that lets a local user elevate privileges to SYSTEM. It affects a broad set of Windows 10, Windows 11 and Windows Server releases, and Microsoft patched it in the August 2024 update. Because it is a kernel driver flaw reachable by any logged-on user, it is a standard building block for post-compromise escalation.

Impact

An attacker who already has code execution as a low-privileged user can gain full SYSTEM privileges on the host, enabling credential theft, disabling of security controls and lateral movement.

Attack surface

The vector is local (AV:L) with low privileges required (PR:L) and no user interaction (UI:N), so the flaw is reached by a logged-on user running a crafted program that triggers the driver's use-after-free. No remote or network path is described.

Exploitation

CVE-2024-38193 is listed in CISA KEV (added 2024-08-13, remediation due 2024-09-03) and has a public Exploit-DB entry, indicating known exploitation in the wild; EPSS is 0.285 (98th percentile). CISA records no known ransomware campaign use.

What to do

  • Apply the Microsoft August 2024 security update for the affected Windows versions as the primary fix.
  • If patching cannot be completed by the KEV due date, follow CISA guidance to apply vendor mitigations or discontinue use of the affected product.
  • Restrict local interactive and service logon rights to only accounts that need them, reducing the pool of users who can trigger the flaw.
  • Harden against the prerequisite foothold: block untrusted executables and macros, and monitor for initial-access activity that precedes local escalation.

Detection

  • Alert on unexpected processes spawning from low-privileged user contexts that quickly obtain SYSTEM tokens or load afd.sys-related handles.
  • Monitor for known public exploit artifacts and unusual child processes of user applications on patched and unpatched hosts.
  • Track Windows event logs for privilege-escalation indicators such as token manipulation, new SYSTEM-level services, or suspicious driver interaction.
  • Verify patch state across the listed Windows 10, 11 and Server builds and flag unpatched endpoints for priority remediation.

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

Exploitation in the wild

CISA added CVE-2024-38193 to the Known Exploited Vulnerabilities catalog on 13 August 2024 as "Microsoft Windows Ancillary Function Driver for WinSock Privilege Escalation Vulnerability". Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. Federal deadline 3 September 2024.

Affected products

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

References

Track CVE-2024-38193 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-2017-8543Windows Search memory handling flaw allows remote code executionWindows Search fails to properly handle objects in memory, allowing an unauthenticated remote attacker to execute code on affected Windows systems. T…KEVEPSS 74%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-2024-38193), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.