CVE-2021-27270: Foxit PhantomPDF - Remote Code Execution
- Cve: CVE-2021-27270
- 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 parsing of JPEG2000 images. 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-12230.
- 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: Attacker needs the target to 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.04406
- Epss percentile: 0.91473
- Assignee: [email protected]
- Published at: 2021-03-30T15:15:16Z
- Age in days: 2065
- Modified at: 2026-06-17T03:44:35Z
- References total: 2
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-27270
- 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
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
References
| Url | Source | Tags |
|---|---|---|
| https://www.foxitsoftware.com/support/security-bulletins.php | nvd | Vendor Advisory |
| https://www.zerodayinitiative.com/advisories/ZDI-21-352/ | nvd | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| foxitsoftware:phantompdf | <= 10.1.0.37527 | yes | nvd | /v1/products/foxitsoftware/phantompdf |
| foxitsoftware:foxit_reader | <= 10.1.0.37527 | yes | nvd | /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