Skip to content
RedCVE

CVE-2025-21418Microsoft Windows WinSock AFD driver privilege escalation

ExploitedMicrosoftPublished:

CVSS score

7.8

High

CVSS 3.1 from microsoft.com

Exploit probability (EPSS)

2.15%

2.15% chance of exploitation in the next 30 days, higher than 82.6% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 11 Feb 2025.

US federal deadline to fix: 4 Mar 2025.

In plain words

A local user with low privileges can gain SYSTEM rights on affected Windows systems by running a crafted program, which exploits a heap buffer overflow in the Ancillary Function Driver for WinSock. Windows 10, Windows 11 and Windows Server 2008 builds below the fixed versions are affected, and CISA reports active exploitation. Install the February 2025 Microsoft security update now, since it fixes the flaw.

Official description

Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability

Source: NVD · CNA: secure@microsoft.com

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 11 Feb 2025.

    US federal agencies must fix it by 4 Mar 2025. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
  2. Check whether you're affected

    Find every system running Microsoft Windows 10 1607, Microsoft Windows 10 1809, Microsoft Windows 10 21h2, Microsoft Windows 10 22h2, Microsoft Windows 11 22h2 and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Windows Server 2022 to 10.0.20348.3148, 10.0.20348.3207, 10.0.25398.1425 or later, on the branch you run.
    • Update Windows Server 2025 to 10.0.26100.3107, 10.0.26100.3194 or later, on the branch you run.
    • Update Windows 10 1607 to 10.0.10240.20915 or later.
    • Update Windows 10 1809 to 10.0.17763.6893 or later.
  4. If you can't update right away

    Apply the workaround or mitigation in the vendor's advisory until you can update:

  5. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  6. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
Microsoft Windows 10 1607< 10.0.10240.20915
Microsoft Windows 10 1809< 10.0.17763.6893
Microsoft Windows 10 21h2< 10.0.19044.5487
Microsoft Windows 10 22h2< 10.0.19045.5487
Microsoft Windows 11 22h2< 10.0.22621.4890
Microsoft Windows 11 23h2< 10.0.22631.4890
Microsoft Windows 11 24h2< 10.0.26100.3107
Microsoft Windows Server 2008r2
Microsoft Windows Server 2012r2 · ≥ 6.2.9200.0, < 6.2.9200.25317
Microsoft Windows Server 2016< 10.0.14393.7785 · ≥ 10.0.14393.0, < 10.0.14393.7785
Microsoft Windows Server 2019< 10.0.17763.6893 · ≥ 10.0.17763.0, < 10.0.17763.6893
Microsoft Windows Server 2022< 10.0.20348.3148 · ≥ 10.0.20348.0, < 10.0.20348.3207
Microsoft Windows Server 2022 23h2< 10.0.25398.1425
Microsoft Windows Server 2025< 10.0.26100.3107 · ≥ 10.0.26100.0, < 10.0.26100.3194
Microsoft Windows 10 Version 1507≥ 10.0.10240.0, < 10.0.10240.20915
Microsoft Windows 10 Version 1607≥ 10.0.14393.0, < 10.0.14393.7785
Microsoft Windows 10 Version 1809≥ 10.0.17763.0, < 10.0.17763.6893
Microsoft Windows 10 Version 21H2≥ 10.0.19044.0, < 10.0.19044.5487
Microsoft Windows 10 Version 22H2≥ 10.0.19045.0, < 10.0.19045.5487
Microsoft Windows 11 Version 22H2≥ 10.0.22621.0, < 10.0.22621.4890
Microsoft Windows 11 Version 22H3≥ 10.0.22631.0, < 10.0.22631.4890
Microsoft Windows 11 Version 23H2≥ 10.0.22631.0, < 10.0.22631.4890
Microsoft Windows 11 Version 24H2≥ 10.0.26100.0, < 10.0.26100.3194
Microsoft Windows Server 2008 R2 Service Pack 1≥ 6.1.7601.0, < 6.1.7601.27566
Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core Installation)≥ 6.1.7601.0, < 6.1.7601.27566

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2025-21418 being exploited?

Yes. CISA added CVE-2025-21418 to its Known Exploited Vulnerabilities catalog on 11 Feb 2025, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 2.1% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2025-21418?

CVE-2025-21418 has a CVSS 3.1 base score of 7.8 (high).

Which versions are affected?

Microsoft Windows 10 1607 (< 10.0.10240.20915), Microsoft Windows 10 1809 (< 10.0.17763.6893), Microsoft Windows 10 21h2 (< 10.0.19044.5487), Microsoft Windows 10 22h2 (< 10.0.19045.5487), Microsoft Windows 11 22h2 (< 10.0.22621.4890), Microsoft Windows 11 23h2 (< 10.0.22631.4890)

Is there a patch for CVE-2025-21418?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.