CVE-2019-17145: Foxit PhantomPDF Dwg2Pdf DXF File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.6.0.25114. 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 DXF files to PDF. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-9276.
Other sources
This vulnerability allows remote attackers to execute arbitrary code on affected 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 conversion of DXF files to PDF. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2019-17145?
CVE-2019-17145 is considered a critical vulnerability as it allows remote code execution.
How do I fix CVE-2019-17145?
To fix CVE-2019-17145, upgrade Foxit PhantomPDF to the latest version that addresses this vulnerability.
What versions of Foxit PhantomPDF are affected by CVE-2019-17145?
CVE-2019-17145 affects Foxit PhantomPDF version 9.6.0.25114.
Is user interaction required to exploit CVE-2019-17145?
Yes, user interaction is required for CVE-2019-17145 as the target must visit a malicious page or open a malicious file.
What type of attacks can be conducted using CVE-2019-17145?
CVE-2019-17145 allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF.