Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability (CVE-2025-54099)
A stack-based buffer overflow exists in the Windows Ancillary Function Driver for WinSock. An authorised local attacker who wins a race condition could exploit it to gain SYSTEM privileges.
Originally disclosed on Microsoft
Description
Stack-based buffer overflow 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? Successful exploitation of this vulnerability requires an attacker to win a race condition.
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 stack-based buffer overflow in the driver's handling of input, where a fixed-size stack buffer is written past its bounds.
Impact
An attacker who successfully exploited this vulnerability could gain SYSTEM privileges, though exploitation requires winning a race condition.
What the attacker needed
Local access to the machine; win a race condition
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.
A driver is a low-level piece of software that lets the operating system talk to hardware or provide core services. This one has a memory bug where more data is written into a fixed-size space than it can hold, which can let someone who already has a foothold on the machine run code with the highest level of permission. The catch is that the attacker must also win a timing race, which makes it harder to pull off reliably.
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.