SecurityContext

CVE-2021-27261: Foxit PhantomPDF - Remote Code Execution

  • Cve: CVE-2021-27261
  • Name: Foxit PhantomPDF - Remote Code Execution
  • Description: This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 10.1.0.37527. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of U3D objects in PDF files. The issue results from the lack of proper validation of user-supplied data, which can result in a read past the end of an allocated structure. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-12269.
  • Impact: Attackers can execute arbitrary code on the affected system, potentially leading to full system compromise.
  • Remediation: Update to the latest version of Foxit PhantomPDF or apply security patches provided by the vendor.
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Victim must visit a malicious page or open a malicious file
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.02607
  • Epss percentile: 0.8578
  • Assignee: [email protected]
  • Published at: 2021-03-30T15:15:15Z
  • Age in days: 2065
  • Modified at: 2026-06-17T03:44:34Z
  • References total: 2
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-27261
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: vulnerability type, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

References

UrlSourceTags
https://www.foxitsoftware.com/support/security-bulletins.phpnvdVendor Advisory
https://www.zerodayinitiative.com/advisories/ZDI-21-343/nvdThird Party Advisory, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
foxitsoftware:phantompdf<= 10.1.0.37527yesnvd/v1/products/foxitsoftware/phantompdf
foxitsoftware:foxit_reader<= 10.1.0.37527yesnvd/v1/products/foxitsoftware/foxit_reader

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts