Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability (CVE-2026-21236)
A heap-based buffer overflow exists in the Windows Ancillary Function Driver for WinSock. An attacker who already has local access and is authorised could exploit it to gain SYSTEM privileges.
Originally disclosed on Microsoft
Description
Heap-based buffer overflow in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.
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 heap buffer overflow in the WinSock ancillary function driver where input size is not properly checked before copying into a heap buffer.
Impact
An attacker who successfully exploited this vulnerability could gain SYSTEM privileges, but only after already having local authorised access.
What the attacker needed
Local access to the machine; authorised attacker already on the system
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 flaw in a Windows driver, a low-level piece of software that helps programs talk to the network. A buffer overflow means the driver can be tricked into writing more data than it has room for, which can corrupt memory. Someone who can already run code on the machine could use this to become the most powerful user on the system, called 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.