Windows Print Spooler Remote Code Execution Vulnerability (CVE-2026-58608)
A race condition in the Windows Print Spooler service lets an authorised attacker cause it to use memory that has already been freed. By creating and closing a printer handle without invalidating a related notification handle, the attacker could potentially run code on the affected system.
Originally disclosed on Microsoft
Description
Concurrent execution using shared resource with improper synchronization ('race condition') in Windows Print Spooler Components allows an authorized attacker to execute code over a network.
FAQ
How could an attacker exploit this vulnerability? An attacker could exploit this vulnerability by interacting with the Windows Print Spooler service in a way that causes it to use memory that has already been freed. By creating and then closing a printer handle without properly invalidating a related notification handle, the attacker can trigger this condition and potentially run code on the affected system.
Windows Print Spooler Components
Windows Print Spooler Components
Microsoft
Microsoft
Customer Action Required
Yes
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 where a printer handle is closed without properly invalidating a related notification handle, leading to use-after-free.
Impact
An authorised attacker could potentially execute code over a network on the affected system.
What the attacker needed
Authorised network access to the Print Spooler
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 Print Spooler is the Windows service that manages printers. A race condition means two actions happen at the same time in an order the program did not expect, so it ends up using memory it has already released. That can let an attacker run their own code on the machine.
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.