Foxit PhantomPDF Print Use-After-Free Remote Code Execution Vulnerability

ID ZDI-15-622
Type zdi
Reporter AbdulAziz Hariri - HP Zero Day Initiative
Modified 2015-11-09T00:00:00


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 the handling of the Print method. A specially crafted PDF document can force a dangling pointer to be reused after it has been freed. An attacker can leverage this vulnerability to execute arbitrary code under the context of the current process.