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

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

A use-after-free flaw exists in the Windows Ancillary Function Driver for WinSock, which an authorised local attacker could exploit to gain SYSTEM privileges. Exploitation requires winning a race condition, making it complex.

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 use-after-free memory management error in the driver, where an object is freed but still referenced.

Impact

An authorised local attacker could gain SYSTEM privileges, but exploitation is complex because it requires winning a race condition.

What the attacker needed

Local access to the machine; authorised attacker (some privileges); 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.

This is a bug in a Windows driver that handles network connections. A use-after-free means the program frees memory but then keeps using it, which can let an attacker run their own code. Here, an attacker who already has some access to the machine could use this to become the all-powerful SYSTEM user, but only if they win a timing race.

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.