CVE-2025-60719 is a local elevation-of-privilege vulnerability in the Windows Ancillary Function Driver for WinSock (afd.sys). The flaw is a use-after-free condition caused by a race condition in afd.sys socket endpoint handling. Research indicates the vulnerable code path involves concurrent operations affecting socket endpoint lifetime, with affected routines including AfdSocketTransfer variants, AfdGetInformation, AfdBind, and AfdConnect. An attacker can race IOCTL-driven operations such as information, bind, and unbind requests so that an AFD endpoint object is freed and then reused while still referenced by the kernel. By reclaiming the freed kernel object, potentially with heap spraying to improve reliability, a low-privilege local process can corrupt kernel memory and redirect execution toward privilege escalation. Microsoft addressed the issue by adding synchronization barriers to prevent endpoint unbinding during critical operations.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a proof-of-concept (PoC) exploit for CVE-2025-60719, a local privilege escalation vulnerability in the Windows Ancillary Function Driver for WinSock (afd.sys). The vulnerability is a race condition that allows a local, authenticated user to manipulate kernel memory and potentially gain SYSTEM privileges by exploiting improper synchronization during socket endpoint operations. The main exploit logic is implemented in 'poc.py', which uses Python's ctypes to interact directly with Windows NT system calls, creating and manipulating AFD endpoints and sending crafted IOCTLs to the driver. The PoC demonstrates the vulnerability by launching threads to race between unbind and get_information operations, potentially triggering the use-after-free condition. The repository also includes a detailed technical analysis of the vulnerability and its root cause in 'CVE-2025-60719_afd.sys.txt', as well as a README with background and references. No weaponized payload is included; the code is intended for demonstration and research purposes only. The only fingerprintable endpoints are the Windows device objects '\Device\Afd\Endpoint' and '\Device\Tcp', which are targeted by the exploit code.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A previously patched vulnerability in the same Windows AFD.sys component, mentioned only for comparison with CVE-2026-68820.
A use-after-free vulnerability in the Windows AFD.sys driver, referenced only for comparison with CVE-2026-68820.
A use-after-free vulnerability in the Windows AFD.sys driver, referenced only for comparison with CVE-2026-68820.
A use-after-free (UAF) vulnerability in the Windows Ancillary Function Driver (afd.sys) for Winsock caused by a race condition, allowing local privilege escalation on almost all supported and many unsupported Windows versions.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.