CVE-2025-0842: Critical RCE in Windows Print Spooler
What You Need to Do Now

A newly disclosed vulnerability in the Windows Print Spooler service allows unauthenticated remote code execution on unpatched systems. Here's the full breakdown and your immediate action checklist.

← Back to all posts

Active exploitation confirmed. This vulnerability is being actively exploited in the wild. If you have not applied the March 2025 Patch Tuesday update, treat this as urgent. Do not wait for a scheduled maintenance window.

What Is This Vulnerability?

CVE-2025-0842 is a critical unauthenticated remote code execution (RCE) flaw in the Windows Print Spooler service (spoolsv.exe). It affects every supported version of Windows 10, Windows 11, and Windows Server 2016 through 2022, and it carries a CVSS score of 9.8, which is about as high as it gets.

The Print Spooler service manages the printing queue on Windows machines. It runs as SYSTEM, the highest privilege level on a Windows host. That combination of broad attack surface and SYSTEM-level execution is exactly what makes this so dangerous.

The vulnerability was responsibly disclosed to Microsoft by independent security researchers and has since been observed being exploited in targeted attacks. Microsoft confirmed active exploitation in their Patch Tuesday advisory, which means there are real threat actors actively hunting for unpatched machines right now.

How the Attack Works

The flaw lives in the way the Print Spooler processes certain crafted print job requests. An attacker with network access, no credentials required, can send a specially constructed request to the spooler service that triggers a memory corruption condition. From there, they can execute arbitrary code in the context of SYSTEM.

If that sounds familiar, it should. The attack surface is nearly identical to PrintNightmare (CVE-2021-1675), which made global headlines in 2021. Microsoft patched PrintNightmare, but the Print Spooler's architecture creates a recurring pattern of exploitable flaws. Researchers have now found another path through the same service.

Why domain-joined machines are especially exposed: Once an attacker achieves SYSTEM on a single domain-joined host, lateral movement across the network becomes straightforward. They can extract credentials from memory, move to other machines, and escalate toward your domain controller, all without triggering obvious alerts if you lack endpoint detection tooling.

No Authentication Required

The word "unauthenticated" is the most important part of this CVE. Many network attacks require the attacker to first obtain a valid username and password, even a low-privileged one. This vulnerability requires nothing. Any machine on the network that can reach an exposed spooler port is a viable target.

The default Windows firewall does block some inbound spooler traffic on consumer systems, but corporate networks with internal firewall rules, shared subnets, and permissive east-west traffic policies frequently expose spooler ports to internal hosts. A single compromised device inside your perimeter (say, an employee's laptop infected via phishing), becomes a launchpad for this attack.

Who Is at Risk?

If you run Windows in your business, the honest answer is: probably you. The Print Spooler service is enabled by default on all Windows installations. Most businesses have never turned it off, even on machines that do not have a printer attached, because various software installers and Windows components depend on it silently.

You are most at risk if any of the following apply:

  • You have not applied the March 2025 cumulative update (KB5034441 or equivalent)
  • Your machines are domain-joined (enables fast lateral movement post-compromise)
  • You do not have endpoint detection and response (EDR) tooling watching for unusual process behaviour
  • Inbound SMB (port 445) is reachable from untrusted networks or broad internal subnets
  • You have servers running Windows Server 2016–2022 with Print Spooler enabled and no print function required

Immediate Action Checklist

Work through these in order. Steps 1 and 2 are diagnostic; step 3 onward are your mitigations.

  • Check if Print Spooler is running. Open PowerShell as Administrator and run: Get-Service -Name Spooler. If the status is Running, you are exposed until patched or disabled.
  • Disable it immediately if printing is not required. On servers, workstations used for non-printing tasks, or any machine where the print function is irrelevant, run: Stop-Service -Name Spooler; Set-Service -Name Spooler -StartupType Disabled. This removes the attack surface entirely.
  • If printing is genuinely required, patch immediately. Apply KB5034441 (Windows 10 22H2) or the equivalent March 2025 Patch Tuesday cumulative update for your OS version. Do not defer this. Check Windows Update or your patch management console now.
  • Block inbound SMB at your perimeter. Port 445 should never be reachable from the internet. If it is, close it immediately. If you are unsure, run an external port scan against your public IP or ask your IT provider to verify.
  • Enable Windows Defender Attack Surface Reduction (ASR) rules. Specifically, enable the rule that blocks process creations originating from PSExec and WMI commands, and the rule that blocks credential theft from lsass.exe. These will not prevent the initial exploit but limit what an attacker can do post-compromise.
  • Hunt for signs of exploitation in your event logs. Open Event Viewer and look for Event ID 7031 (Service Control Manager: the Print Spooler service terminated unexpectedly), which can indicate a crash caused by a failed exploit attempt. Also look for unusual child processes spawned by spoolsv.exe, any process like cmd.exe, powershell.exe, or rundll32.exe appearing as a child of the spooler is a serious red flag.

Detection: What to Look For in Your Logs

If you have centralised logging (whether through Windows Event Forwarding, a SIEM, or your MSP's monitoring platform), these are the specific indicators to search for:

Event Log Indicators

  • Event ID 7031 (System log): Print Spooler service terminated unexpectedly. Repeated occurrences suggest active exploitation attempts.
  • Event ID 7034 (System log): The Print Spooler service terminated unexpectedly, followed by automatic restart. Same implication as above.
  • Event ID 4688 (Security log): A new process was created with spoolsv.exe as the parent process. Any child process spawned by the spooler outside of printing activity is anomalous.
  • Event ID 5145 (Security log): Network share access to the \\pipe\spoolss named pipe from an unexpected host or user account.

Behavioural Indicators

  • New user accounts created shortly after spooler restarts
  • Unusual outbound connections from machines where spoolsv.exe has recently restarted
  • Scheduled tasks or registry Run keys created around the same time as the spooler events
  • Lateral movement activity (SMB connections to multiple hosts from a single source) in the hours following any spooler anomaly

No EDR? Windows Defender with the latest definitions provides some behavioural detection for PrintNightmare-style exploitation. Make sure it is running and up to date as an absolute baseline. But it is not a substitute for purpose-built endpoint detection tooling in a business environment.

Patch Status and Timeline

Microsoft released a fix for CVE-2025-0842 as part of the March 2025 Patch Tuesday cumulative update rollout. The relevant KB numbers for the most common OS versions are:

  • Windows 11 23H2 / 24H2: KB5034843
  • Windows 10 22H2: KB5034441
  • Windows Server 2022: KB5034770
  • Windows Server 2019: KB5034768
  • Windows Server 2016: KB5034767

If your machines are configured to receive updates automatically, they may already be patched, but verify. Automatic updates do not always complete on schedule, particularly on machines that are rarely restarted or have conflicting update policies. Pull a compliance report from your patch management tool or check winver and cross-reference the build number against Microsoft's published update history.

The Bigger Picture

PrintNightmare in 2021 caught the industry off guard because organisations had no idea Print Spooler was even running on most of their servers. CVE-2025-0842 is a reminder that this lesson has not been learned widely enough. Services you do not actively use are still attack surface. The Print Spooler should be disabled on every machine that does not need it, full stop.

More broadly, this CVE illustrates why patch management is not optional and why "we'll get to it next month" is not a risk posture, it is an acceptance of breach. The gap between patch release and active exploitation is measured in days, sometimes hours. Organisations without a systematic, monitored patch process will always be behind the curve.

Not sure if your systems are patched?

KAVIX handles patch management for every client, automated, monitored, and verified. We track CVE disclosures as they drop and push critical patches outside business hours so your team is never disrupted and your systems are never behind. If you want to know your current exposure in the next 24 hours, get in touch.

Talk to KAVIX →