CVE-2025-21418: Windows Ancillary Function Driver for WinSock Local Privilege Escalation
- Vendor
- Microsoft Corporation
CVE-2025-21418 is a heap-based buffer overflow in the Windows Ancillary Function Driver for WinSock that allows a locally authenticated attacker to gain SYSTEM privileges by executing a specially crafted program. It affects Windows 10, Windows 11, and multiple Windows Server versions. Microsoft rated the vulnerability Important with a CVSS score of 7.8 and addressed it in the February 2025 security updates. Exploitation in the wild was confirmed at disclosure, and the vulnerability is included in CISA's Known Exploited Vulnerabilities catalog.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation elevates a local attacker's privileges to SYSTEM, compromising the host's security boundary. This can enable unauthorized access to protected data, modification of system settings and files, and execution of attacker-controlled software with SYSTEM privileges.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, reduce opportunities for local code execution by restricting interactive logon rights, limiting execution of untrusted binaries and scripts through application control, enforcing least privilege, and closely monitoring for anomalous privilege-escalation behavior originating from user contexts. Because exploitation is local and targets a core kernel driver, there is no reliable substitute mitigation equivalent to vendor patching; compensating controls only reduce exposure.
Remediation
Patch, then assume compromise.
Install the applicable Microsoft February 2025 security update addressing CVE-2025-21418, or a superseding cumulative security update, for the affected Windows or Windows Server version. Prioritize deployment because exploitation in the wild has been confirmed.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-21418 exploited in the wild?
- Yes. As of Oct 14, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Feb 11, 2025.
- Is there a public exploit for CVE-2025-21418?
- As of Oct 14, 2026, Mallory has found no public exploit for CVE-2025-21418.
- Is there a patch for CVE-2025-21418?
- Install the applicable Microsoft February 2025 security update addressing CVE-2025-21418, or a superseding cumulative security update, for the affected Windows or Windows Server version. Prioritize deployment because exploitation in the wild has been confirmed.
- What products are affected by CVE-2025-21418?
- Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 21h2, Microsoft Corporation Windows 10 22h2, and 14 more.
- How severe is CVE-2025-21418?
- CVE-2025-21418 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 2.1% (82nd percentile) as of Oct 14, 2026.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.