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

Microsoft Digest Authentication Remote Code Execution Vulnerability (CVE-2025-21294)

A race condition in Microsoft Digest Authentication could lead to a use-after-free, allowing an attacker who connects to a system requiring digest authentication to execute arbitrary code. The advisory states exploitation requires winning the race condition.

Yuki Chen Follow

Originally disclosed on Microsoft

Critical 8.1 View original

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

How could an attacker exploit this vulnerability? An attacker could successfully exploit this vulnerability by connecting to a system which requires digest authentication, triggering the race condition to create a use-after-free scenario, and then leveraging this to execute arbitrary code.

Microsoft Digest Authentication

Microsoft Digest Authentication

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Yuki Chen. 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 the digest authentication handling leads to a use-after-free, which can be turned into arbitrary code execution.

Impact

An attacker could execute arbitrary code on a system that requires digest authentication, but only if they can win the race condition.

What the attacker needed

Target requires digest authentication; attacker can connect to the system; 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.

Digest Authentication is a way for a server to check a user's password without sending it in plain text. A race condition means two actions happen at almost the same time and the program handles them in the wrong order, which can leave it using memory it has already freed (a use-after-free). If an attacker can control that moment, they may be able to run their own code on the system.

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 Yuki Chen

View all

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