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

Windows Line Printer Daemon (LPD) Service Remote Code Execution Vulnerability (CVE-2025-21224)

A shared Windows Line Printer Daemon service could be exploited by an unauthenticated attacker who sends a specially crafted print task over the network. Winning a race condition during that process could lead to remote code execution on the server.

Azure Yang Follow

Originally disclosed on Microsoft

High 8.1 View original

FAQ

How could an attacker exploit this vulnerability? An unauthenticated attacker could send a specially crafted print task to a shared vulnerable Windows Line Printer Daemon (LPD) service across a network. Successful exploitation could result in remote code execution on the server.

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.

Line Printer Daemon Service (LPD)

Line Printer Daemon Service (LPD)

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Azure Yang with Kunlun Lab. 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 how the LPD service handles incoming print tasks, allowing memory to be used unsafely during concurrent processing.

Impact

An unauthenticated attacker on the network could achieve remote code execution on the server, though exploitation is difficult because a race condition must be won.

What the attacker needed

Network access to the LPD service; LPD service shared and vulnerable; 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.

The Line Printer Daemon is a service that lets computers send print jobs to a shared printer over a network. Here, a flaw in how it handles those print jobs means someone with no login could send a malicious one and, if they get the timing right, run their own code on the server. A race condition means the attacker has to hit a precise moment, which makes the attack harder but not impossible.

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 Azure Yang

View all

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