CVE-2025-60719 is a local elevation-of-privilege vulnerability in the Windows Ancillary Function Driver for WinSock (afd.sys), a kernel networking component underlying the Winsock API. Supporting analysis indicates the bug is a use-after-free condition caused by a race condition in afd.sys handling of socket endpoints. Multiple afd.sys code paths are implicated, including AfdSocketTransfer*, AfdGetInformation, AfdBind, and AfdConnect. Exploitation involves racing IOCTL requests such as IOCTL_AFD_GET_INFORMATION, IOCTL_AFD_BIND, and IOCTL_AFD_UNBIND from concurrent threads so that an AFD_ENDPOINT object is freed while still in use. Researchers noted that heap spraying can improve exploit reliability by reclaiming the freed kernel object with attacker-controlled data. Microsoft addressed the flaw by adding synchronization barriers, including AfdPreventUnbind and AfdReallowUnbind, 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.
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
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.
An elevation of privilege vulnerability in the Windows Ancillary Function Driver for WinSock that Microsoft assessed as more likely to be exploited.
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.