CVE-2021-34527
highpriority · act · 90OT risk · criticalKEV · exploitedEPSS 0.998 · 100 %ileexploit · functionalDEEURUUSadded 2021-11-03remediate by 2022-05-03
required action Apply updates per vendor instructions.
EPSS · scored 2026-10-27
Microsoft Windows Print Spooler Remote Code Execution Vulnerability
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedpepperl_fuchs_psirt
Customers using Pepperl+Fuchs HMI devices out of VisuNet RM*, VisuNet PC* or Box Thin Client BTC* product families should follow these guidelines: Pepperl+Fuchs HMI devices running RM Shell 5 should install "Security Patch PrintNightmare (18-34369)" to disable the "Allow Print Spooler to accept client connections:" group policy to block remote attacks: https://www.pepperl-fuchs.com/cgi-bin/db/doci.pl/?ShowDocByDocNo=18-34369 Pepperl+Fuchs HMI devices running a Windows 10 LTSB 2016 or Windows 10 LTSC 2019 should use the Windows Update functionality to update the system. Customers using HMI devices based on Windows 7 or older should upgrade to a Windows 10 LTSB 2016 or Windows 10 LTSC 2019 Version. Security updates Please check the P+F website regularly for Windows security updates and use our security update service to be informed about the latest security incidents. We will inform you as soon as Microsoft releases further security updates and measures for existing vulnerabilities. For Support please contact your local Pepperl+Fuchs sales representative.
- FixedWindows 10 Version 1607 for 32-bit Systemsmsrc_csaf
10.0.14393.4470:Security Update:https://support.microsoft.com/help/5004948
https://support.microsoft.com/help/5004948 - FixedWindows 10 Version 1607 for x64-based Systemsmsrc_csaf
10.0.14393.4470:Security Update:https://support.microsoft.com/help/5004948
https://support.microsoft.com/help/5004948 - FixedWindows 10 Version 1809 for 32-bit Systemsmsrc_csaf
10.0.17763.2029:Security Update:https://support.microsoft.com/help/5004947
https://support.microsoft.com/help/5004947 - FixedWindows 10 Version 1809 for ARM64-based Systemsmsrc_csaf
10.0.17763.2029:Security Update:https://support.microsoft.com/help/5004947
https://support.microsoft.com/help/5004947 - FixedWindows 10 Version 1809 for x64-based Systemsmsrc_csaf
10.0.17763.2029:Security Update:https://support.microsoft.com/help/5004947
https://support.microsoft.com/help/5004947 - FixedWindows 10 Version 20H2 for 32-bit Systemsmsrc_csaf
10.0.19042.1083:Security Update:https://support.microsoft.com/help/5004945
https://support.microsoft.com/help/5004945 - FixedWindows 10 Version 20H2 for ARM64-based Systemsmsrc_csaf
10.0.19042.1083:Security Update:https://support.microsoft.com/help/5004945
https://support.microsoft.com/help/5004945 - FixedWindows 10 Version 21H2 for 32-bit Systemsmsrc_csaf
10.0.19044.1415:Security Update:https://support.microsoft.com/help/5008212
https://support.microsoft.com/help/5008212 - FixedWindows 10 Version 21H2 for ARM64-based Systemsmsrc_csaf
10.0.19044.1415:Security Update:https://support.microsoft.com/help/5008212
https://support.microsoft.com/help/5008212 - FixedWindows 10 Version 21H2 for x64-based Systemsmsrc_csaf
10.0.19044.1415:Security Update:https://support.microsoft.com/help/5008212
https://support.microsoft.com/help/5008212 - FixedWindows 10 Version 22H2 for 32-bit Systemsmsrc_csaf
10.0.19045.2251:Security Update:https://support.microsoft.com/help/5019959
https://support.microsoft.com/help/5019959 - FixedWindows 10 Version 22H2 for ARM64-based Systemsmsrc_csaf
10.0.19045.2251:Security Update:https://support.microsoft.com/help/5019959
https://support.microsoft.com/help/5019959 - FixedWindows 10 Version 22H2 for x64-based Systemsmsrc_csaf
10.0.19045.2251:Security Update:https://support.microsoft.com/help/5019959
https://support.microsoft.com/help/5019959 - FixedWindows 10 for 32-bit Systemsmsrc_csaf
10.0.10240.18969:Security Update:https://support.microsoft.com/help/5004950
https://support.microsoft.com/help/5004950 - FixedWindows 10 for x64-based Systemsmsrc_csaf
10.0.10240.18969:Security Update:https://support.microsoft.com/help/5004950
https://support.microsoft.com/help/5004950 - FixedWindows 11 Version 22H2 for ARM64-based Systemsmsrc_csaf
10.0.22621.674:Security Update:https://support.microsoft.com/help/5018427
https://support.microsoft.com/help/5018427 - FixedWindows 11 Version 22H2 for x64-based Systemsmsrc_csaf
10.0.22621.674:Security Update:https://support.microsoft.com/help/5018427
https://support.microsoft.com/help/5018427 - FixedWindows 11 version 21H2 for ARM64-based Systemsmsrc_csaf
10.0.22000.318:Security Update:https://support.microsoft.com/help/5007215
https://support.microsoft.com/help/5007215 - FixedWindows 11 version 21H2 for x64-based Systemsmsrc_csaf
10.0.22000.318:Security Update:https://support.microsoft.com/help/5007215
https://support.microsoft.com/help/5007215 - FixedWindows RT 8.1msrc_csaf
6.3.9600.20046:Monthly Rollup:https://support.microsoft.com/help/5004954
https://support.microsoft.com/help/5004954 - FixedWindows Server 2008 R2 for x64-based Systems Service Pack 1msrc_csaf
6.1.7601.25633:Security Only:https://support.microsoft.com/help/5004951
https://support.microsoft.com/help/5004951 - FixedWindows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)msrc_csaf
6.1.7601.25633:Security Only:https://support.microsoft.com/help/5004951
https://support.microsoft.com/help/5004951 - FixedWindows Server 2008 for 32-bit Systems Service Pack 2msrc_csaf
6.0.6003.21138:Monthly Rollup:https://support.microsoft.com/help/5004955
https://support.microsoft.com/help/5004955 - FixedWindows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation)msrc_csaf
6.0.6003.21138:Monthly Rollup:https://support.microsoft.com/help/5004955
https://support.microsoft.com/help/5004955 - FixedWindows Server 2008 for x64-based Systems Service Pack 2msrc_csaf
6.0.6003.21138:Monthly Rollup:https://support.microsoft.com/help/5004955
https://support.microsoft.com/help/5004955 - FixedWindows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation)msrc_csaf
6.0.6003.21138:Monthly Rollup:https://support.microsoft.com/help/5004955
https://support.microsoft.com/help/5004955 - FixedWindows Server 2012msrc_csaf
6.2.9200.23383:Monthly Rollup:https://support.microsoft.com/help/5004956
https://support.microsoft.com/help/5004956 - FixedWindows Server 2012 (Server Core installation)msrc_csaf
6.2.9200.23383:Monthly Rollup:https://support.microsoft.com/help/5004956
https://support.microsoft.com/help/5004956 - FixedWindows Server 2012 R2msrc_csaf
6.3.9600.20046:Monthly Rollup:https://support.microsoft.com/help/5004954
https://support.microsoft.com/help/5004954 - FixedWindows Server 2012 R2 (Server Core installation)msrc_csaf
6.3.9600.20046:Monthly Rollup:https://support.microsoft.com/help/5004954
https://support.microsoft.com/help/5004954 - FixedWindows Server 2016msrc_csaf
10.0.14393.4470:Security Update:https://support.microsoft.com/help/5004948
https://support.microsoft.com/help/5004948 - FixedWindows Server 2016 (Server Core installation)msrc_csaf
10.0.14393.4470:Security Update:https://support.microsoft.com/help/5004948
https://support.microsoft.com/help/5004948 - FixedWindows Server 2019msrc_csaf
10.0.17763.2029:Security Update:https://support.microsoft.com/help/5004947
https://support.microsoft.com/help/5004947 - FixedWindows Server 2019 (Server Core installation)msrc_csaf
10.0.17763.2029:Security Update:https://support.microsoft.com/help/5004947
https://support.microsoft.com/help/5004947 - FixedWindows Server 2022msrc_csaf
10.0.20348.230:Security Update:https://support.microsoft.com/help/5005575
https://support.microsoft.com/help/5005575 - FixedWindows Server 2022 (Server Core installation)msrc_csaf
10.0.20348.230:Security Update:https://support.microsoft.com/help/5005575
https://support.microsoft.com/help/5005575 - FixedWindows Server, version 20H2 (Server Core Installation)msrc_csaf
10.0.19042.1083:Security Update:https://support.microsoft.com/help/5004945
https://support.microsoft.com/help/5004945
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (30)
Public proof-of-concept and weaponised exploit code.
- exploit/windows/dcerpc/cve_2021_1675_printnightmarePrint Spooler Remote DLL Injectionfunctional · metasploit
- AlDawli/CVE-2021-34527-PrintNightmare ReportPoC · poc_in_github
- Amaranese/CVE-2021-34527Amaranese/CVE-2021-34527PoC · poc_in_github
affected products (145)
Products and version ranges known to be affected.
- Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation)6.1.7601.0 → 6.1.7601.25633enisa_euvdEU
- Microsoft Windows Server 2008 Service Pack 2 (Server Core installation)6.0.6003.0 → 6.0.6003.21138enisa_euvdEU
advisories (2)
Vendor and ecosystem advisories describing this.
- VDE-2021-034Pepperl+Fuchs: Security Advisory for PrintNightmare Vulnerability in multiple HMI Devices2021-07-30csaf · pepperl_fuchs_psirtDE
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. See details on Microsoft Advisory CVE-2021-34527 (https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-34527)
- msrc_CVE-2021-34527Windows Print Spooler Remote Code Execution Vulnerability2021-07-01csaf · msrc_csafUS
To determine the support lifecycle for your software, see the Microsoft Support Lifecycle: https://support.microsoft.com/lifecycle
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (18)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/issue/WLB-2022050084cnnvd
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-34527cnnvd
- https://packetstormsecurity.com/files/165024/PrintNightmare-Vulnerability.htmlcnnvd
- https://packetstormsecurity.com/files/167261/Print-Spooler-Remote-DLL-Injection.htmlcnnvd
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-34527cnnvd
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-34527cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021070204cnnvd
- https://www.kb.cert.org/vuls/id/383432cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan