TippingPoint Zero Day Initiative

Foxit PhantomPDF ConvertToPDF TIFF Parsing Memory Corruption Remote Code Execution Vulnerability

ZDI-17-042: January 11th, 2017

CVSS Score

Affected Vendors

Affected Products


Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit PhantomPDF. 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 ConvertToPDF's TIFF parsing. The issue results from the lack of proper validation of user-supplied data which can result in a memory corruption condition. An attacker can leverage this vulnerability to execute code under the context of the current process.

Vendor Response

Foxit has issued an update to correct this vulnerability. More details can be found at:

Disclosure Timeline

    2016-12-01 - Vulnerability reported to vendor
    2017-01-11 - Coordinated public release of advisory


This vulnerability was discovered by:
    Juan Pablo Lopez Yacubian