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

Windows File Explorer Elevation of Privilege Vulnerability (CVE-2025-64658)

A race condition in Windows Shell, caused by concurrent use of a shared resource with improper synchronisation, lets an authorised local attacker elevate privileges. A successful exploit could gain SYSTEM privileges and escape a contained execution environment.

Taeω02 Follow

Originally disclosed on Microsoft

High 7.5 View original

Description

Concurrent execution using shared resource with improper synchronization ('race condition') in Windows Shell 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? For an attacker to exploit this vulnerability, they would need to have knowledge of a specific operation that triggers a memory allocation failure, specifically a use after free.

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.

FAQ

According to the CVSS metric, user interaction is required (UI:R) and privileges required is low (PR:L). What does that mean for this vulnerability? An authorized attacker must send the user a malicious file and convince the user to open it.

FAQ

According to the CVSS metric, a successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? This vulnerability could lead to a contained execution environment escape. Please refer to AppContainer Isolation for more information.

Windows Shell

Windows Shell

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Taeω02. 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 race condition in Windows Shell where concurrent access to a shared resource is not properly synchronised, leading to a use-after-free.

Impact

An attacker who successfully exploited this could gain SYSTEM privileges and escape a contained execution environment, though exploitation is complex and requires user interaction.

What the attacker needed

Local access to the machine; low privileges on the machine; victim opens a malicious file

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 race condition happens when two parts of a program use the same thing at the same time and get confused about its state. Here that confusion can crash or free memory that is still in use, and the attacker can take advantage of that to run code with the highest level of permission on the machine. The attacker already needs to be able to run something on the computer and must trick a user into opening a file.

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 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.