Cloudanix VulnDB

CVE-2021-39836

High · 7.8

CVSS

7.8

EPSS

69.5%

Published

Sep 29, 2021

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Attend

A malicious PDF can take over a person’s computer if opened with an outdated Adobe PDF reader.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Remote Code Execution
Component
Application
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

CVE-2021-39836 is a use-after-free memory corruption flaw in Adobe Acrobat and Acrobat Reader DC when processing the AcroForm buttonGetIcon action in a PDF. A specially crafted document can cause Acrobat/Reader to reference freed memory and redirect execution flow, potentially allowing attacker-controlled code to run with the privileges of the user who opened the file. Because exploitation occurs inside the PDF reader process, the impact can include code execution, data theft, malware installation, or further privilege escalation if chained with another vulnerability.

Why it matters to the business

Successful exploitation can compromise a user workstation through a malicious PDF, which is a common document format used in email, portals, and file-sharing workflows. An attacker could gain access to files and applications available to the affected user, install malware, steal credentials, or use the system as an entry point for broader intrusion. The vulnerability is not listed in CISA KEV and has no known ransomware designation in the provided data, but the EPSS score is high, indicating elevated likelihood of exploitation compared with many vulnerabilities; organizations that still allow outdated Acrobat or Reader versions remain exposed despite the issue being several years old.

How an attack unfolds

An attacker crafts a malicious PDF containing AcroForm content that triggers the vulnerable buttonGetIcon action. The attacker then delivers the file through phishing email, a compromised website, messaging platform, shared drive, or another document-distribution channel. When a victim opens the file in a vulnerable version of Acrobat or Acrobat Reader, the malformed object handling causes a use-after-free condition. If the attacker successfully shapes memory and bypasses applicable mitigations, the PDF can execute arbitrary code in the context of the current user. The payload may then launch a downloader, spawn script interpreters, drop malware, establish persistence, harvest credentials, or move laterally using the victim’s access.

How to fix it

Upgrade Adobe Acrobat and Adobe Acrobat Reader to a vendor-supported version newer than the affected releases: Acrobat Reader DC 2021.005.20060 and earlier, 2020.004.30006 and earlier, and 2017.011.30199 and earlier are vulnerable. If exact package fixed versions are not centrally tracked, deploy the latest available Adobe security update for the installed Acrobat/Reader release train or move to the current Continuous Track release. Where immediate patching is not possible, reduce exposure by disabling JavaScript in Acrobat/Reader where operationally feasible, enabling Protected View and Enhanced Security, blocking untrusted PDFs from email and web downloads, preventing Acrobat/Reader from spawning child processes through EDR or application control, and restricting execution from user-writable directories.

How to confirm the fix worked

Confirm installed Acrobat/Reader versions are later than the vulnerable versions and that automatic updates are enabled. On Windows, validate via Adobe Help > About, installed application inventory, endpoint management tooling, or file version checks for Acrobat.exe and AcroRd32.exe. On macOS, validate via application inventory or the app bundle version for Adobe Acrobat/Reader. Test policy controls by verifying that Protected View/Enhanced Security settings are active where required and that Acrobat/Reader child-process blocking rules trigger in audit or enforcement mode. For exposure assessment, search software inventory for Adobe Acrobat or Reader versions at or below 2021.005.20060, 2020.004.30006, or 2017.011.30199.

Typical attack path

  1. Attacker prepares a weaponized PDF that abuses AcroForm buttonGetIcon processing.
  2. Attacker sends or hosts the PDF using phishing, social engineering, file sharing, or a compromised web page.
  3. Victim opens the PDF with a vulnerable Adobe Acrobat or Acrobat Reader version.
  4. The PDF triggers a use-after-free condition during AcroForm processing.
  5. Exploit code achieves execution inside the Acrobat/Reader process under the victim user context.
  6. Payload downloads or launches follow-on malware, scripts, credential theft tooling, or remote access capability.
  7. Attacker uses the compromised endpoint and user privileges for persistence, data access, or broader intrusion.

How to detect it

To determine whether exploitation may already have occurred, correlate document-delivery telemetry with endpoint behavior. Review email security logs, attachment sandbox results, web proxy downloads, browser download history, EDR process telemetry, Windows Event Logs, macOS unified logs, crash reports, and file-system artifacts for suspicious PDFs opened by Acrobat/Reader. Key behavioral signs include Acrobat.exe or AcroRd32.exe crashing near the time a PDF was opened, followed by child processes such as cmd.exe, powershell.exe, wscript.exe, cscript.exe, mshta.exe, rundll32.exe, regsvr32.exe, certutil.exe, bitsadmin.exe, curl.exe, or abnormal network connections. Inspect suspicious PDFs for AcroForm structures, button actions, JavaScript, embedded files, launch actions, and references to buttonGetIcon. Because no specific public exploitation IOC is provided, detection should focus on exploit behavior and post-exploitation activity rather than a single hash or domain.

  • buttonGetIcon
  • /AcroForm
  • /NeedAppearances
  • /AA
  • /OpenAction
  • /JavaScript
  • /JS
  • /Launch
  • /EmbeddedFiles
  • AcroRd32.exe
  • Acrobat.exe
  • AcroRd32.exe -> cmd.exe
  • AcroRd32.exe -> powershell.exe
  • AcroRd32.exe -> wscript.exe
  • AcroRd32.exe -> cscript.exe
  • AcroRd32.exe -> mshta.exe
  • AcroRd32.exe -> rundll32.exe
  • AcroRd32.exe -> regsvr32.exe
  • AcroRd32.exe -> certutil.exe
  • AcroRd32.exe -> bitsadmin.exe
  • AcroRd32.exe -> curl.exe
  • Acrobat.exe -> cmd.exe
  • Acrobat.exe -> powershell.exe
  • Acrobat.exe -> wscript.exe
  • Acrobat.exe -> cscript.exe
  • Acrobat.exe -> mshta.exe
  • Acrobat.exe -> rundll32.exe
  • Acrobat.exe -> regsvr32.exe
  • Acrobat.exe -> certutil.exe
  • Acrobat.exe -> bitsadmin.exe
  • Acrobat.exe -> curl.exe
  • Faulting application name: AcroRd32.exe
  • Faulting application name: Acrobat.exe
  • WerFault.exe AcroRd32.exe
  • WerFault.exe Acrobat.exe

What your security team should do

  • Prioritize patching or replacing all Acrobat and Acrobat Reader installations at or below the affected versions, especially on endpoints that handle external email attachments or downloaded documents.
  • Use endpoint management or vulnerability scanning to identify obsolete Acrobat/Reader release trains and remove unsupported versions.
  • Enable Adobe Protected View and Enhanced Security settings for users who open external PDFs.
  • Create EDR/SIEM detections for Acrobat/Reader spawning command shells, script interpreters, LOLBins, archive tools, or network download utilities.
  • Harden email and web gateways to detonate or block suspicious PDFs, especially PDFs containing AcroForm actions, embedded JavaScript, or unusual object structures.
  • Review historical endpoint, email, and proxy telemetry for suspicious PDF delivery followed by Acrobat/Reader crashes or child-process execution.
  • If suspicious execution is found, isolate the endpoint, collect the PDF sample, preserve memory/process artifacts where possible, and investigate credential exposure for the affected user.

The record

Acrobat Reader DC versions 2021.005.20060 (and earlier), 2020.004.30006 (and earlier) and 2017.011.30199 (and earlier) are affected by a use-after-free vulnerability in the processing of the AcroForm buttonGetIcon action that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a victim must open a malicious file.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities