Windows Print Spooler Remote Code Execution Vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Microsoft. Impact type from Microsoft.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Active
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Microsoft | Windows 10 Version 1507 | 10.0.10240.0 to before 10.0.10240.18969 | 10.0.10240.18969 | Patch available | CNA |
| Microsoft | Windows 10 Version 1607 | 10.0.14393.0 to before 10.0.14393.4470 | 10.0.14393.4470 | Patch available | CNA |
| Microsoft | Windows 10 Version 1809 | 10.0.17763.0 to before 10.0.17763.2029 | 10.0.17763.2029 | Patch available | CNA |
| Microsoft | Windows 10 Version 1809 | 10.0.0 to before 10.0.17763.2029 | 10.0.17763.2029 | Patch available | CNA |
| Microsoft | Windows 10 Version 20H2 | 10.0.0 to before 10.0.19042.1083 | 10.0.19042.1083 | Patch available | CNA |
| Microsoft | Windows 10 Version 21H2 | 10.0.19044.0 to before 10.0.19044.1415 | 10.0.19044.1415 | Patch available | CNA |
| Microsoft | Windows 10 Version 22H2 | 10.0.19045.0 to before 10.0.19045.2251 | 10.0.19045.2251 | Patch available | CNA |
| Microsoft | Windows 11 version 21H2 | 10.0.22000.0 to before 10.0.22000.318 | 10.0.22000.318 | Patch available | CNA |
| Microsoft | Windows 11 version 22H2 | 10.0.22621.0 to before 10.0.22621.674 | 10.0.22621.674 | Patch available | CNA |
| Microsoft | Windows 8.1 | 6.3.0 to before 6.3.9600.20046 | 6.3.9600.20046 | Patch available | CNA |
| Microsoft | Windows Server 2008 R2 Service Pack 1 | 6.1.7601.0 to before 6.1.7601.25633 | 6.1.7601.25633 | Patch available | CNA |
| Microsoft | Windows Server 2008 R2 Service Pack 1 (Server Core installation) | 6.1.7601.0 to before 6.1.7601.25633 | 6.1.7601.25633 | Patch available | CNA |
| Microsoft | Windows Server 2008 Service Pack 2 | 6.0.6003.0 to before 6.0.6003.21138 | 6.0.6003.21138 | Patch available | CNA |
| Microsoft | Windows Server 2008 Service Pack 2 (Server Core installation) | 6.0.6003.0 to before 6.0.6003.21138 | 6.0.6003.21138 | Patch available | CNA |
| Microsoft | Windows Server 2012 | 6.2.9200.0 to before 6.2.9200.23383 | 6.2.9200.23383 | Patch available | CNA |
| Microsoft | Windows Server 2012 (Server Core installation) | 6.2.9200.0 to before 6.2.9200.23383 | 6.2.9200.23383 | Patch available | CNA |
| Microsoft | Windows Server 2012 R2 | 6.3.9600.0 to before 6.3.9600.20046 | 6.3.9600.20046 | Patch available | CNA |
| Microsoft | Windows Server 2012 R2 (Server Core installation) | 6.3.9600.0 to before 6.3.9600.20046 | 6.3.9600.20046 | Patch available | CNA |
| Microsoft | Windows Server 2016 | 10.0.14393.0 to before 10.0.14393.4470 | 10.0.14393.4470 | Patch available | CNA |
| Microsoft | Windows Server 2016 (Server Core installation) | 10.0.14393.0 to before 10.0.14393.4470 | 10.0.14393.4470 | Patch available | CNA |
| Microsoft | Windows Server 2019 | 10.0.17763.0 to before 10.0.17763.2029 | 10.0.17763.2029 | Patch available | CNA |
| Microsoft | Windows Server 2019 (Server Core installation) | 10.0.17763.0 to before 10.0.17763.2029 | 10.0.17763.2029 | Patch available | CNA |
| Microsoft | Windows Server 2022 | 10.0.20348.0 to before 10.0.20348.230 | 10.0.20348.230 | Patch available | CNA |
| Microsoft | Windows Server version 20H2 | 10.0.0 to before 10.0.19042.1083 | 10.0.19042.1083 | Patch available | CNA |
- Windows 10 Version 1507 VendorMicrosoft Affected 10.0.10240.0 to before 10.0.10240.18969 Fixed in 10.0.10240.18969 Patch available CNA
- Windows 10 Version 1607 VendorMicrosoft Affected 10.0.14393.0 to before 10.0.14393.4470 Fixed in 10.0.14393.4470 Patch available CNA
- Windows 10 Version 1809 VendorMicrosoft Affected 10.0.17763.0 to before 10.0.17763.2029 Fixed in 10.0.17763.2029 Patch available CNA
- Windows 10 Version 1809 VendorMicrosoft Affected 10.0.0 to before 10.0.17763.2029 Fixed in 10.0.17763.2029 Patch available CNA
- Windows 10 Version 20H2 VendorMicrosoft Affected 10.0.0 to before 10.0.19042.1083 Fixed in 10.0.19042.1083 Patch available CNA
- Windows 10 Version 21H2 VendorMicrosoft Affected 10.0.19044.0 to before 10.0.19044.1415 Fixed in 10.0.19044.1415 Patch available CNA
- Windows 10 Version 22H2 VendorMicrosoft Affected 10.0.19045.0 to before 10.0.19045.2251 Fixed in 10.0.19045.2251 Patch available CNA
- Windows 11 version 21H2 VendorMicrosoft Affected 10.0.22000.0 to before 10.0.22000.318 Fixed in 10.0.22000.318 Patch available CNA
- Windows 11 version 22H2 VendorMicrosoft Affected 10.0.22621.0 to before 10.0.22621.674 Fixed in 10.0.22621.674 Patch available CNA
- Windows 8.1 VendorMicrosoft Affected 6.3.0 to before 6.3.9600.20046 Fixed in 6.3.9600.20046 Patch available CNA
- Windows Server 2008 R2 Service Pack 1 VendorMicrosoft Affected 6.1.7601.0 to before 6.1.7601.25633 Fixed in 6.1.7601.25633 Patch available CNA
- Windows Server 2008 R2 Service Pack 1 (Server Core installation) VendorMicrosoft Affected 6.1.7601.0 to before 6.1.7601.25633 Fixed in 6.1.7601.25633 Patch available CNA
- Windows Server 2008 Service Pack 2 VendorMicrosoft Affected 6.0.6003.0 to before 6.0.6003.21138 Fixed in 6.0.6003.21138 Patch available CNA
- Windows Server 2008 Service Pack 2 (Server Core installation) VendorMicrosoft Affected 6.0.6003.0 to before 6.0.6003.21138 Fixed in 6.0.6003.21138 Patch available CNA
- Windows Server 2012 VendorMicrosoft Affected 6.2.9200.0 to before 6.2.9200.23383 Fixed in 6.2.9200.23383 Patch available CNA
- Windows Server 2012 (Server Core installation) VendorMicrosoft Affected 6.2.9200.0 to before 6.2.9200.23383 Fixed in 6.2.9200.23383 Patch available CNA
- Windows Server 2012 R2 VendorMicrosoft Affected 6.3.9600.0 to before 6.3.9600.20046 Fixed in 6.3.9600.20046 Patch available CNA
- Windows Server 2012 R2 (Server Core installation) VendorMicrosoft Affected 6.3.9600.0 to before 6.3.9600.20046 Fixed in 6.3.9600.20046 Patch available CNA
- Windows Server 2016 VendorMicrosoft Affected 10.0.14393.0 to before 10.0.14393.4470 Fixed in 10.0.14393.4470 Patch available CNA
- Windows Server 2016 (Server Core installation) VendorMicrosoft Affected 10.0.14393.0 to before 10.0.14393.4470 Fixed in 10.0.14393.4470 Patch available CNA
- Windows Server 2019 VendorMicrosoft Affected 10.0.17763.0 to before 10.0.17763.2029 Fixed in 10.0.17763.2029 Patch available CNA
- Windows Server 2019 (Server Core installation) VendorMicrosoft Affected 10.0.17763.0 to before 10.0.17763.2029 Fixed in 10.0.17763.2029 Patch available CNA
- Windows Server 2022 VendorMicrosoft Affected 10.0.20348.0 to before 10.0.20348.230 Fixed in 10.0.20348.230 Patch available CNA
- Windows Server version 20H2 VendorMicrosoft Affected 10.0.0 to before 10.0.19042.1083 Fixed in 10.0.19042.1083 Patch available CNA
CPE configurations NVD · 17
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:microsoft:windows_10_1507:*:*:*:*:*:*:*:* | before 10.0.10240.18969 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:*:* | before 10.0.14393.4470 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:*:* | before 10.0.17763.2029 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_10_20h2:*:*:*:*:*:*:*:* | before 10.0.19042.1083 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:*:* | before 10.0.19044.1415 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:*:* | before 10.0.19045.2251 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_11_21h2:*:*:*:*:*:*:*:* | before 10.0.22000.318 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_11_22h2:*:*:*:*:*:*:*:* | before 10.0.22621.674 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_rt_8.1:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_server_2008:-:sp2:*:*:*:*:*:* | not specified by NVD | Vulnerable | Microsoft |
- cpe:2.3:o:microsoft:windows_10_1507:*:*:*:*:*:*:*:* Versions before 10.0.10240.18969 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:*:* Versions before 10.0.14393.4470 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:*:* Versions before 10.0.17763.2029 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_10_20h2:*:*:*:*:*:*:*:* Versions before 10.0.19042.1083 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:*:* Versions before 10.0.19044.1415 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:*:* Versions before 10.0.19045.2251 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_11_21h2:*:*:*:*:*:*:*:* Versions before 10.0.22000.318 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_11_22h2:*:*:*:*:*:*:*:* Versions before 10.0.22621.674 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_rt_8.1:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_server_2008:-:sp2:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Microsoft
Show 7 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:microsoft:windows_server_2008:r2:sp1:*:*:*:*:x64:* | r2 sp1 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_server_2012:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_server_2012:r2:*:*:*:*:*:*:* | r2 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_server_2016:*:*:*:*:*:*:*:* | before 10.0.14393.4470 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_server_2019:*:*:*:*:*:*:*:* | before 10.0.17763.2029 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_server_2022:*:*:*:*:*:*:*:* | before 10.0.20348.230 | Vulnerable | Microsoft |
| cpe:2.3:o:microsoft:windows_server_20h2:*:*:*:*:*:*:*:* | before 10.0.19042.1083 | Vulnerable | Microsoft |
- cpe:2.3:o:microsoft:windows_server_2008:r2:sp1:*:*:*:*:x64:* Versions r2 sp1 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_server_2012:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_server_2012:r2:*:*:*:*:*:*:* Versions r2 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_server_2016:*:*:*:*:*:*:*:* Versions before 10.0.14393.4470 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_server_2019:*:*:*:*:*:*:*:* Versions before 10.0.17763.2029 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_server_2022:*:*:*:*:*:*:*:* Versions before 10.0.20348.230 Vulnerable ·Microsoft
- cpe:2.3:o:microsoft:windows_server_20h2:*:*:*:*:*:*:*:* Versions before 10.0.19042.1083 Vulnerable ·Microsoft
Remediation
Microsoft 17 updates
- Security Update
- Windows 10 Version 20H2 for 32-bit Systems 10.0.19042.2251
- Windows 10 Version 20H2 for ARM64-based Systems 10.0.19042.2251
- Windows 10 Version 21H1 for 32-bit Systems 10.0.19043.2251
- Windows 10 Version 21H1 for ARM64-based Systems 10.0.19043.2251
- Windows 10 Version 21H1 for x64-based Systems 10.0.19043.2251
- Windows 10 Version 21H2 for 32-bit Systems 10.0.19044.2251
- Windows 10 Version 21H2 for ARM64-based Systems 10.0.19044.2251
- Windows 10 Version 21H2 for x64-based Systems 10.0.19044.2251
- Windows 10 Version 22H2 for 32-bit Systems 10.0.19045.2251
- Windows 10 Version 22H2 for ARM64-based Systems 10.0.19045.2251
- Windows 10 Version 22H2 for x64-based Systems 10.0.19045.2251
- Security Update
- Windows 11 Version 22H2 for ARM64-based Systems 10.0.22621.674
- Windows 11 Version 22H2 for x64-based Systems 10.0.22621.674
- Security Update
- Windows 10 Version 21H2 for 32-bit Systems 10.0.19044.1415
- Windows 10 Version 21H2 for ARM64-based Systems 10.0.19044.1415
- Windows 10 Version 21H2 for x64-based Systems 10.0.19044.1415
Show 14 more Microsoft updates
- Security Update
- Microsoft Edge (Chromium-based) in IE Mode 10.0.22000.318
- Windows 11 version 21H2 for ARM64-based Systems 10.0.22000.318
- Windows 11 version 21H2 for x64-based Systems 10.0.22000.318
- Security Update
- Windows Server 2022 10.0.20348.230
- Windows Server 2022 (Server Core installation) 10.0.20348.230
- Security Only
- Windows Server 2012 6.2.9200.23383
- Windows Server 2012 (Server Core installation) 6.2.9200.23383
- Security Only
- Windows Server 2008 for 32-bit Systems Service Pack 2 6.0.6003.21138
- Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation) 6.0.6003.21138
- Windows Server 2008 for x64-based Systems Service Pack 2 6.0.6003.21138
- Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation) 6.0.6003.21138
- Security Only
- Windows Server 2012 R2 6.3.9600.20046
- Windows Server 2012 R2 (Server Core installation) 6.3.9600.20046
- Monthly Rollup
- Windows Server 2012 6.2.9200.23383
- Windows Server 2012 (Server Core installation) 6.2.9200.23383
- Monthly Rollup
- Windows Server 2008 for 32-bit Systems Service Pack 2 6.0.6003.21138
- Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation) 6.0.6003.21138
- Windows Server 2008 for x64-based Systems Service Pack 2 6.0.6003.21138
- Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation) 6.0.6003.21138
- Monthly Rollup
- Windows RT 8.1 6.3.9600.20046
- Windows Server 2012 R2 6.3.9600.20046
- Windows Server 2012 R2 (Server Core installation) 6.3.9600.20046
- Monthly Rollup
- Windows Server 2008 R2 for x64-based Systems Service Pack 1 6.1.7601.25633
- Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation) 6.1.7601.25633
- Security Only
- Windows Server 2008 R2 for x64-based Systems Service Pack 1 6.1.7601.25633
- Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation) 6.1.7601.25633
- Security Update
- Windows 10 for 32-bit Systems 10.0.10240.18969
- Windows 10 for x64-based Systems 10.0.10240.18969
- Security Update
- Windows 10 Version 1607 for 32-bit Systems 10.0.14393.4470
- Windows 10 Version 1607 for x64-based Systems 10.0.14393.4470
- Windows Server 2016 10.0.14393.4470
- Windows Server 2016 (Server Core installation) 10.0.14393.4470
- Security Update
- Windows 10 Version 1809 for 32-bit Systems 10.0.17763.2029
- Windows 10 Version 1809 for ARM64-based Systems 10.0.17763.2029
- Windows 10 Version 1809 for x64-based Systems 10.0.17763.2029
- Windows Server 2019 10.0.17763.2029
- Windows Server 2019 (Server Core installation) 10.0.17763.2029
- Security Update
- Windows 10 Version 20H2 for 32-bit Systems 10.0.19042.1083
- Windows 10 Version 20H2 for ARM64-based Systems 10.0.19042.1083
- Windows Server, version 20H2 (Server Core Installation) 10.0.19042.1083
Vendor assessments
Microsoft
Microsoft's page for this CVE →
- Impact
- Remote Code Execution
- Exploited
- Yes
- Publicly disclosed
- Yes
- Exploitability
- Exploitation Detected
Timeline
- 2021-11-03 Added to CISA KEV
- 2026-10-02 Threatist record created from CVE-2021-34527
- 2026-10-03 Alias added: GHSA-75f9-mm5v-2rgm
References
Exploit 3
Patch 2
Advisory 1
More Microsoft Windows 10 1507 vulnerabilities
- TI-2017-06077 Microsoft Windows XP SP3, Windows XP x64 XP2, Windows Server 2003 SP2, Windows Vista… KEVCVSS 3.1CRITICAL 9.8
- TI-2025-24062 Windows SMB Client Elevation of Privilege Vulnerability KEVCVSS 3.1HIGH 8.8
- TI-2025-24042 Internet Shortcut Files Remote Code Execution Vulnerability KEVCVSS 3.1HIGH 8.8
- TI-2024-32708 Windows Task Scheduler Elevation of Privilege Vulnerability KEVCVSS 3.1HIGH 8.8
- TI-2024-29106 Windows MSHTML Platform Spoofing Vulnerability KEVCVSS 3.1HIGH 8.8
- TI-2024-19802 Windows MSHTML Platform Security Feature Bypass Vulnerability KEVCVSS 3.1HIGH 8.8
Sources
- CVE-2021-34527 · CVE Program
- CVE-2021-34527 · NVD
- CISA Known Exploited Vulnerabilities
- FIRST EPSS
- GHSA-75f9-mm5v-2rgm · GitHub Advisory Database · CC BY 4.0
- CVE-2021-34527 · Microsoft Security Update Guide
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences