Skip to content
Race condition Advisory Advanced CVE-2025-62217

Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability (CVE-2025-62217)

A race condition in the Windows Ancillary Function Driver for WinSock lets an attacker who already has some local access on a machine escalate their privileges. Winning the race could give the attacker SYSTEM-level rights on the host.

Angelboy Follow

Originally disclosed on Microsoft

High 7.0 View original

Description

Concurrent execution using shared resource with improper synchronization ('race condition') 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

The original report as published on the Microsoft Security Response Center, by Angelboy (@scwuaptx) with DEVCORE. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 shared resource in the driver is accessed by concurrent threads without proper synchronisation, so a race window lets one thread act with another's privileges.

Impact

An attacker with local access who wins the race could gain SYSTEM privileges, though the high attack complexity means the timing is hard to achieve reliably.

What the attacker needed

Local access to the target machine; win a timing race condition

The fix

Microsoft lists customer action as required, implying a security update should be applied, but the text does not describe the code change itself.

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 and core services. This one has a timing flaw: if two things happen at almost the same moment, the driver can get confused about who is allowed to do what. An attacker who is already logged in locally can exploit that confusion to gain the highest level of control on the computer.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by Angelboy

View all

69 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.