CVE-2020-8854: Foxit PhantomPDF JPEG File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.7.0.29478. 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 conversion of JPEG files to PDF. The issue results from the lack of proper validation of user-supplied data, which can result in a write 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-9606.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Foxit PhantomPDFto a version that resolves this vulnerability.Fixed in 9.7.0.29478Patch ZDI-CAN-9606
Event History
Frequently Asked Questions
What is CVE-2020-8854?
CVE-2020-8854 is a vulnerability that allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.7.0.29478.
How can this vulnerability be exploited?
This vulnerability can be exploited by the target visiting a malicious page or opening a malicious file.
What is the severity of CVE-2020-8854?
The severity of CVE-2020-8854 is high, with a CVSS score of 7.8.
Which software versions are affected by CVE-2020-8854?
Foxit PhantomPDF versions up to and including 9.7.0.29478 are affected by CVE-2020-8854.
How can I fix CVE-2020-8854?
To fix CVE-2020-8854, update Foxit PhantomPDF to a version that is not vulnerable.