CVE-2026-25178
vulnerability analysis and mitigation

Overview

CVE-2026-25178 is a use-after-free (UAF) vulnerability in the Windows Ancillary Function Driver (AFD) for WinSock that allows an authenticated local attacker with low privileges to elevate privileges on the affected system. It was disclosed and patched on March 10, 2026, as part of Microsoft's March 2026 Patch Tuesday security update. The vulnerability affects a broad range of Windows versions, including Windows 10 (1607 through 22H2), Windows 11 (23H2 through 26H1), Windows Server 2012/R2, 2016, 2019, 2022, and 2025. It carries a CVSS v3.1 base score of 7.0 (High) (Microsoft MSRC).

Technical details

The vulnerability is classified as CWE-416 (Use After Free), occurring within the Windows Ancillary Function Driver (afd.sys) for WinSock — a kernel-mode driver that provides socket-related functionality to user-mode applications. A use-after-free condition arises when the driver accesses memory that has already been freed, potentially allowing an attacker to control the freed memory region and redirect execution flow. Exploitation requires local access with low privileges (e.g., a standard user account), no user interaction, and is rated High complexity, meaning reliable exploitation may require specific timing or race conditions. No public proof-of-concept code has been identified at the time of disclosure (Microsoft MSRC).

Impact

Successful exploitation allows an authenticated local attacker to escalate privileges to SYSTEM level, granting complete control over the affected Windows host. This enables arbitrary code execution at the highest privilege level, access to sensitive data, modification of system configurations, and potential lateral movement to other systems on the network. All three security dimensions — confidentiality, integrity, and availability — are rated High impact (Microsoft MSRC).

Mitigation and workarounds

Microsoft released patches on March 10, 2026, addressing this vulnerability across all affected products. Administrators should apply the relevant cumulative updates to reach the following minimum versions: Windows 11 23H2 → 10.0.22631.6783; Windows 11 24H2 → 10.0.26100.7979; Windows 11 25H2 → 10.0.26200.7979; Windows 11 26H1 → 10.0.28000.1719; Windows 10 1607/Server 2016 → 10.0.14393.8957; Windows 10 1809/Server 2019 → 10.0.17763.8511; Windows 10 21H2 → 10.0.19044.7058; Windows 10 22H2 → 10.0.19045.7058; Windows Server 2022 → 10.0.20348.4830; Windows Server 2022 23H2 → 10.0.25398.2207; Windows Server 2025 → 10.0.26100.32463. As a defense-in-depth measure, limit local interactive access to trusted users only and monitor for unusual privilege escalation activity (Microsoft MSRC).

Community reactions

The vulnerability was covered as part of broader March 2026 Patch Tuesday roundups by multiple security outlets. Rapid7, Sophos, Zero Day Initiative (ZDI), and Lansweeper each published patch Tuesday review posts that included CVE-2026-25178 among the 79+ vulnerabilities addressed that month. Coverage was routine, with no specific researcher commentary singling out this CVE for elevated concern, consistent with its lack of active exploitation at disclosure (ZDI Blog, Rapid7 Blog, Sophos Blog).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management