CVE-2018-17692: Foxit PhantomPDF HTML2PDF HTML Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability

Published Jan 24, 2019
·
Updated

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit PhantomPDF 9.2.0.9297. 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 HTML 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-7129.

Other sources

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 conversion of HTML 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.

Affected Software

4 affected components
Foxit PhantomPDF
Foxitsoftware Phantompdf<=9.2.0.9297
Foxitsoftware Reader<=9.2.0.9297
Microsoft Windows

Event History

Jan 24, 2019
CVE Published
via MITRE·04:00 AM
Data Sourced
via MITRE·04:00 AM
DescriptionWeakness
Jan 29, 2025
Advisory Published
via ZDI·11:29 AM

Frequently Asked Questions

1

What is the severity of CVE-2018-17692?

CVE-2018-17692 is classified as a critical vulnerability due to its ability to allow remote code execution.

2

How do I fix CVE-2018-17692?

To fix CVE-2018-17692, update your Foxit PhantomPDF installation to version 9.2.0.9298 or later.

3

Who is affected by CVE-2018-17692?

CVE-2018-17692 affects users of Foxit PhantomPDF version 9.2.0.9297 and earlier.

4

What type of attack is CVE-2018-17692 associated with?

CVE-2018-17692 is associated with remote code execution attacks that require user interaction.

5

Is Foxit Reader also vulnerable to CVE-2018-17692?

Yes, Foxit Reader version 9.2.0.9297 is also vulnerable to CVE-2018-17692, similar to PhantomPDF.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203