Skip to main content
Mallory
HighExploited in the wildCISA KEVVulnerability

CVE-2025-21418: Windows Ancillary Function Driver for WinSock Local Privilege Escalation

Published Feb 11, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS2.1%82nd percentile
CISA KEVYesAdded Feb 11, 2025
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2025-21418CWE-122 · Heap-based Buffer Overflow

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
Microsoft CorporationWindows 10 1507operating_system
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 10 21h2operating_system
Microsoft CorporationWindows 10 22h2operating_system
Microsoft CorporationWindows 11 22h2operating_system
Microsoft CorporationWindows 11 23h2operating_system
Microsoft CorporationWindows 11 24h2operating_system
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Server 2008 R2operating_system
Microsoft CorporationWindows Server 2008 Sp2operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2012 R2operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 2022operating_system
Microsoft CorporationWindows Server 2022 23h2operating_system
Microsoft CorporationWindows Server 2025operating_system
Microsoft CorporationWindows Server 23h2operating_system
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.