CVE-2020-1020 Overview
CVE-2020-1020 is a remote code execution vulnerability in the Windows Adobe Type Manager Library (atmfd.dll). The flaw occurs when the library improperly handles a specially-crafted multi-master font in Adobe Type 1 PostScript format. Attackers can exploit the issue by convincing a user to open a malicious document or preview it in Windows Explorer. On systems other than Windows 10, successful exploitation allows remote code execution in the context of the user. CISA has confirmed active exploitation in the wild by adding this vulnerability to its Known Exploited Vulnerabilities (KEV) catalog.
Critical Impact
Remote attackers can execute arbitrary code on unpatched Windows hosts by delivering a malicious font file, with confirmed in-the-wild exploitation per CISA KEV.
Affected Products
- Microsoft Windows 7, 8.1, RT 8.1, and Windows 10 (versions 1507 through 1909)
- Microsoft Windows Server 2008, 2012, 2016, and 2019
- Microsoft Windows Server versions 1903 and 1909
Discovery Timeline
- 2020-04-15 - CVE-2020-1020 published to NVD
- 2025-10-29 - Last updated in NVD database
Technical Details for CVE-2020-1020
Vulnerability Analysis
The vulnerability resides in the Windows Adobe Type Manager Library, a built-in component that parses and renders Adobe Type 1 PostScript fonts. The flaw is classified as an out-of-bounds write [CWE-787]. When the library processes a malformed multi-master font, it writes past an allocated buffer, corrupting adjacent memory. Attackers can leverage this memory corruption to redirect execution flow and run arbitrary code.
Exploitation requires user interaction. An attacker can deliver the malicious font through a document, an Office attachment, or a file rendered by the Windows preview pane. Once Windows attempts to render the embedded font, the parsing routine in the Adobe Type Manager Library triggers the corruption.
Root Cause
The root cause is improper validation of length and offset fields within a multi-master Adobe Type 1 PostScript font. The font parser trusts attacker-supplied size values and writes data beyond the bounds of a destination buffer. This out-of-bounds write enables corruption of structures used by the parser, leading to control over execution.
Attack Vector
The attack vector is network-adjacent, requiring user interaction. Attackers can host a malicious font in a document, email attachment, web page, or file share. On Windows versions where font parsing runs in a privileged context, exploitation results in code execution with elevated privileges. On Windows 10, the vulnerability is scoped to AppContainer sandbox compromise rather than full remote code execution, due to font parsing isolation.
No public proof-of-concept code is referenced in the available data. See the Microsoft Security Advisory CVE-2020-1020 for technical details.
Detection Methods for CVE-2020-1020
Indicators of Compromise
- Anomalous documents or font files (.otf, .pfm, .pfb) arriving via email, web download, or file share
- Unexpected child processes spawned from fontdrvhost.exe, WerFault.exe, or explorer.exe immediately after a file is opened or previewed
- Crashes or exceptions originating from atmfd.dll or related Adobe Type Manager components
- Outbound network connections initiated by user-mode processes shortly after a document or font file is rendered
Detection Strategies
- Monitor endpoints for process creation events where font-handling or rendering processes spawn shells, scripting interpreters, or LOLBins
- Inspect documents and email attachments containing embedded Adobe Type 1 PostScript multi-master fonts for malformed length fields
- Hunt for memory corruption indicators such as WER (Windows Error Reporting) crashes referencing atmfd.dll or fontdrvhost.exe
- Correlate font file access with subsequent suspicious behavior such as credential access, persistence, or lateral movement
Monitoring Recommendations
- Forward Sysmon process creation, file creation, and image load events to a centralized analytics platform for retrospective hunting
- Alert on file write events that drop .otf, .pfb, or .pfm files into user-writable directories prior to document execution
- Track Windows Defender Exploit Guard and ASR rule triggers related to Office and font handling
- Baseline normal behavior of fontdrvhost.exe and alert on deviations such as unexpected module loads or network activity
How to Mitigate CVE-2020-1020
Immediate Actions Required
- Apply the April 2020 Microsoft security update referenced in the Microsoft Security Advisory CVE-2020-1020 to all affected Windows and Windows Server systems
- Prioritize patching internet-facing hosts, workstations handling untrusted documents, and Windows 7 and Server 2008 systems no longer receiving mainstream support
- Verify patch deployment through configuration management tooling and vulnerability scanners against the CISA Known Exploited Vulnerabilities Catalog entry
- Restrict user permissions to reduce the impact of code execution under the user context
Patch Information
Microsoft released a security update on April 14, 2020 addressing CVE-2020-1020. The patch corrects how the Windows Adobe Type Manager Library handles multi-master fonts in Adobe Type 1 PostScript format. Refer to the Microsoft Security Advisory CVE-2020-1020 for KB numbers specific to each affected Windows build.
Workarounds
- Disable the Windows Explorer Preview Pane and Details Pane to prevent automatic font rendering of attacker-controlled files
- Disable the WebClient service to block remote WebDAV-based delivery of malicious fonts
- Rename or restrict access to atmfd.dll on legacy systems where this DLL is present, per Microsoft guidance
- Block inbound Office documents and font files from untrusted external sources at the email gateway and web proxy
# Disable the WebClient service to reduce remote attack surface
sc config WebClient start= disabled
sc stop WebClient
# Disable Preview and Details panes via registry (per-user)
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Modes\AllFolders\Shell" /v ShowPreviewHandlers /t REG_DWORD /d 0 /f
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.


