# CVE-2024-38193: Microsoft Windows Ancillary Function Driver for WinSock Privilege Escalation Vulnerability

Source: https://junglewise.ai/threats/cve-2024-38193-microsoft-windows-ancillary-function-driver-for-winsock-privilege  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-13. Updated: 2026-05-09  
License: CC BY 4.0 with a link back

CVE-2024-38193 · Severity: critical · CVSS 7.8 · Exploited in the wild · Published 2024-08-13

The Microsoft Windows Ancillary Function Driver (AFD) for WinSock contains a use-after-free vulnerability that allows a local attacker to escalate privileges to SYSTEM. The flaw is actively exploited in the wild and affects a wide range of Windows client and server operating systems.

Technologies: [Microsoft Windows](https://junglewise.ai/threats/technologies/windows). Vendors: [Microsoft](https://junglewise.ai/threats/vendors/microsoft).

## Quick answers

**Is CVE-2024-38193 exploited in the wild?** Yes. CVE-2024-38193 is known to be exploited in the wild, first recorded on 13 August 2024. Treat it as urgent.

**How severe is CVE-2024-38193?** Critical severity, with a CVSS score of 7.8, published 13 August 2024.

**Which products and versions are affected?** Microsoft Windows 10 1507, 1607, 1809, 21H2, 22H2; Microsoft Windows 11 21H2, 22H2, 23H2, 24H2; Microsoft Windows Server 2008 SP2, R2 SP1; Microsoft Windows Server 2012 Gold, R2; and 3 more.

**Is there a fix for CVE-2024-38193?** A patch was published on 2024-08-13: Microsoft released security updates to address the vulnerability. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2024-38193 attacked?** It is attacked with local access, in an operating system.

**Am I affected by CVE-2024-38193?** Check whether you run Microsoft Windows. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Microsoft Windows 10 1507, 1607, 1809, 21H2, 22H2
- Microsoft Windows 11 21H2, 22H2, 23H2, 24H2
- Microsoft Windows Server 2008 SP2, R2 SP1
- Microsoft Windows Server 2012 Gold, R2
- Microsoft Windows Server 2016 All versions
- Microsoft Windows Server 2019 All versions
- Microsoft Windows Server 2022 All versions, 23H2

## Timeline

- 2024-08-13: disclosed
- 2024-08-13: patched: Microsoft released security updates to address the vulnerability.
- 2024-08-13: kev added: CISA added this vulnerability to the Known Exploited Vulnerabilities (KEV) catalog.
- 2024-08-13: exploited: Reported as exploited in the wild at the time of disclosure.

## Related threats

- [Windows BitLocker heap buffer overflow with physical attack](https://junglewise.ai/threats/cve-2026-97015-heap-based-buffer-overflow-in-windows-bitlocker-allows-an)
- [Microsoft Windows Shell type confusion privilege elevation](https://junglewise.ai/threats/cve-2026-97013-access-of-resource-using-incompatible-type-type-confusion-in)
- [Microsoft Windows VMSwitch out-of-bounds read privilege escalation](https://junglewise.ai/threats/cve-2026-97002-out-of-bounds-read-in-windows-vmswitch-allows-an-authorized)
- [Microsoft Windows USM Communication Manager null pointer dereference](https://junglewise.ai/threats/cve-2026-97000-null-pointer-dereference-in-windows-usm-communication-manager)
- [Microsoft Windows Winsock use after free privilege escalation](https://junglewise.ai/threats/cve-2026-96994-use-after-free-in-winsock-allows-an-authorized-attacker-to)
