Skip to content
Memory corruption Advisory Advanced CVE-2025-62213

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

A use-after-free flaw exists in the Windows Ancillary Function Driver for WinSock, which lets an attacker who already has some access on the machine raise their privileges to SYSTEM. Exploiting it requires winning a race condition, so success is not guaranteed on every attempt.

Angelboy Follow

Originally disclosed on Microsoft

High 7.0 View original

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? 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 memory lifetime error in the driver where an object is freed while still reachable, allowing reuse of that memory.

Impact

An attacker with local access could gain SYSTEM privileges, but only if they win a race condition, so exploitation is unreliable.

What the attacker needed

Local access to the machine; win a race condition

The fix

Microsoft released a security update for this vulnerability, and customers are told to apply it.

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 network. A 'use after free' means the program keeps using a chunk of memory after it has been handed back, so an attacker can try to slip their own data into that gap. Here the attacker must already be able to run code on the machine, and if they win a timing race they can end up with the highest level of control, 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.

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.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.