SecurityContext

CVE-2018-17706: Foxit PhantomPDF - Buffer Overflow

  • Cve: CVE-2018-17706
  • Name: Foxit PhantomPDF - Buffer Overflow
  • Description: This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit PhantomPDF Phantom PDF 9.1.5096. 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 fxhtml2pdf. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code under the context of the current process. Was ZDI-CAN-6230.
  • Impact: Attackers can execute arbitrary code on the affected system, potentially leading to full system compromise.
  • Remediation: Update to the latest version of Foxit PhantomPDF or apply security patches provided by the vendor.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Victim must visit a malicious page or open a malicious file
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.02773
  • Epss percentile: 0.86695
  • Assignee: [email protected]
  • Published at: 2018-10-29T21:29:01Z
  • Age in days: 2948
  • Modified at: 2026-06-17T01:46:17Z
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-17706
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-787Out-of-bounds Write
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

References

UrlSourceTags
https://www.foxitsoftware.com/support/security-bulletins.phpnvdMitigation, Vendor Advisory
https://zerodayinitiative.com/advisories/ZDI-18-1095nvdThird Party Advisory, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
foxitsoftware:phantompdf<= 9.1.0.5096yesnvd/v1/products/foxitsoftware/phantompdf

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts