BLACKOUT MAP

Microsoft · Windows

CVE-2021-34527

Windows Print Spooler Remote Code Execution Vulnerability

Exploited in attacks Used by ransomware High 8.8 Attack chance: 99.8%
Share

What it is

A remote code execution vulnerability exists when the Windows Print Spooler service improperly performs privileged file operations. An attacker who successfully exploited this vulnerability could run arbitrary code with SYSTEM privileges. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.
UPDATE July 7, 2021: The security update for Windows Server 2012, Windows Server 2016 and Windows 10, Version 1607 have been released. Please see the Security Updates table for the applicable update for your system. We recommend that you install these updates immediately. If you are unable to install these updates, see the FAQ and Workaround sections in this CVE for information on how to help protect your system from this vulnerability.
In addition to installing the updates, in order to secure your system, you must confirm that the following registry settings are set to 0 (zero) or are not defined (Note: These registry keys do not exist by default, and therefore are already at the secure setting.), also that your Group Policy setting are correct (see FAQ):

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
NoWarningNoElevationOnInstall = 0 (DWORD) or not defined (default setting)
UpdatePromptSettings = 0 (DWORD) or not defined (default setting)

Having NoWarningNoElevationOnInstall set to 1 makes your system vulnerable by design.
UPDATE July 6, 2021: Microsoft has completed the investigation and has released security updates to address this vulnerability. Please see the Security Updates table for the applicable update for your system. We recommend that you install these updates immediately. If you are unable to install these updates, see the FAQ and Workaround sections in this CVE for information on how to help protect your system from this vulnerability. See also KB5005010: Restricting installation of new printer drivers after applying the July 6, 2021 updates.
Note that the security updates released on and after July 6, 2021 contain protections for CVE-2021-1675 and the additional remote code execution exploit in the Windows Print Spooler service known as “PrintNightmare”, documented in CVE-2021-34527.

CISA: Microsoft Windows Print Spooler contains an unspecified vulnerability due to the Windows Print Spooler service improperly performing privileged file operations. Successful exploitation allows an attacker to perform remote code execution with SYSTEM privileges. The vulnerability is also known under the moniker of PrintNightmare.

What to do

Apply updates per vendor instructions.

Deadline for US federal agencies: May 3, 2022

Added to the CISA list
November 3, 2021
Published
July 2, 2021
Severity
High 8.8 CVSS 3.1
Chance of attacks in the next 30 days (EPSS)
99.8% in the top 0.1% of all known vulnerabilities
Weakness
CWE-269
More details
NVD · CVE.org · CISA

More exploited flaws from Microsoft

AddedVulnerabilityProductSeverityAttack chance
Oct 13, 2026Command InjectionCVE-2026-96951WindowsHigh 8.89.8%
Sep 8, 2026Link FollowingCVE-2026-81963WindowsHigh 7.80.4%
Sep 8, 2026Heap-Based Buffer OverflowCVE-2026-85880WindowsHigh 7.80.4%
May 20, 2026Buffer OverflowCVE-2008-4250WindowsCritical 9.899%
Apr 28, 2026Protection Mechanism FailureCVE-2026-32202WindowsMedium 4.371%
Apr 13, 2026Out-of-Bounds ReadCVE-2023-36424WindowsHigh 7.812%
Apr 13, 2026Link FollowingCVE-2025-60710used by ransomwareWindowsHigh 7.84.6%
Feb 17, 2026 Microsoft Windows Video ActiveX Control Remote Code ExecutionCVE-2008-0015WindowsHigh 8.877%

All of them →

Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.