Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability (CVE-2026-21241)
A use-after-free flaw exists in the Windows Ancillary Function Driver for WinSock, which lets an authorised local attacker raise their privileges. An attacker who exploits it successfully could gain SYSTEM privileges.
Originally disclosed on Microsoft
Description
Use after free in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? For an attacker to exploit this vulnerability, they would need to have knowledge of a specific operation that triggers a memory allocation failure, specifically a use after free.
FAQ
What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.
Windows Ancillary Function Driver for WinSock
Windows Ancillary Function Driver for WinSock
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a use-after-free in the WinSock ancillary function driver, triggered by a specific operation that causes a memory allocation failure.
Impact
An attacker with local access could elevate to SYSTEM privileges, though exploitation is complex because it requires knowing a specific operation that triggers the memory allocation failure.
What the attacker needed
Local access to the machine; knowledge of a specific triggering operation
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a bug in a Windows driver, a low-level piece of software that lets programs talk to the operating system. A use-after-free happens when a program frees some memory but keeps using it, so an attacker can sometimes plant their own data there. Here, someone already able to run code on the machine could use this to become the most powerful user, SYSTEM.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.