← Vulnerability feed

Vulnerability record · CVE-2018-20247 · published 24 December 2018

CVE-2018-20247: Foxit Quick PDF Library stack overflow via recursive page tree

Foxitsoftware · Quick Pdf Library

Foxit Quick PDF Library versions prior to 16.12 mishandle malformed PDFs that contain a recursive page tree structure. Loading such a file through LoadFromFile, LoadFromString or LoadFromStream causes a stack overflow, mapped to CWE-121 and CWE-787. The flaw matters because it is reachable in any application that parses untrusted PDFs with the library.

7.8 CVSS 3.1 High EPSS 54% · top 1.0% CWE-121 · Stack-based buffer overflowCWE-787 · Out-of-bounds write
7.8CVSS 3.1 base score, v2 6.8
54%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

Description

In Foxit Quick PDF Library (all versions prior to 16.12), issue where loading a malformed or malicious PDF containing a recursive page tree structure using the LoadFromFile, LoadFromString or LoadFromStream functions results in a stack overflow.

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: medium.

high priorityCVSS 7.8 with all-High impacts and a very high EPSS score, though exploitation requires local file processing and no KEV listing or confirmed public exploit is present.

What it is

Foxit Quick PDF Library versions prior to 16.12 mishandle malformed PDFs that contain a recursive page tree structure. Loading such a file through LoadFromFile, LoadFromString or LoadFromStream causes a stack overflow, mapped to CWE-121 and CWE-787. The flaw matters because it is reachable in any application that parses untrusted PDFs with the library.

Impact

An attacker can crash the calling process and, given the out-of-bounds write classification, potentially corrupt memory in the context of the application using the library. The CVSS 3.1 vector rates confidentiality, integrity and availability impact all High.

Attack surface

Reached locally by supplying a crafted PDF to the library's load functions; the vector AV:L/PR:N/UI:R indicates no privileges are needed but a user must open or process the malicious file. No remote or unauthenticated network path is described.

Exploitation

Not listed in CISA KEV and no ransomware association is recorded. EPSS is high at 0.54492 (99th percentile), but the references are only vendor and third-party advisories, so no public exploit is confirmed by this record.

What to do

  • Upgrade Foxit Quick PDF Library to 16.12 or later, which the vendor advisory covers.
  • Validate or reject PDFs with recursive or excessively deep page trees before passing them to LoadFromFile, LoadFromString or LoadFromStream.
  • Run PDF parsing in a sandboxed or low-privilege process to limit the effect of a stack overflow or memory corruption.
  • Track the vendor security bulletin page for further updates on this issue.

Detection

  • Monitor for crashes or abnormal process termination in applications that embed Quick PDF Library when opening PDFs.
  • Alert on PDFs with unusually deep or self-referencing page tree structures in file inspection or email gateway logs.
  • Correlate endpoint crash reports with recently opened PDF files to identify malformed inputs.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-20247 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2018-20248Foxitsoftware quick pdf library out-of-bounds write vulnerabilityIn Foxit Quick PDF Library (all versions prior to 16.12), issue where loading a malformed or malicious PDF containing invalid xref table pointers or …EPSS 1.7%8.8CVE-2018-20249Foxitsoftware quick pdf library out-of-bounds write vulnerabilityIn Foxit Quick PDF Library (all versions prior to 16.12), issue where loading a malformed or malicious PDF containing invalid xref entries using the …EPSS 1.4%8.8CVE-2026-7273Zyxel gs1900-8 firmware stack-based buffer overflow vulnerabilityA stack-based buffer overflow vulnerability in the CGI program of Zyxel GS1900-48HPv2 firmware versions through 2.90(ABTQ.1)C0 could allow a LAN-base…KEVEPSS 2.5%8.1CVE-2021-27137DD-WRT UPnP M-SEARCH stack buffer overflowDD-WRT before 45724 contains an unsafe strcpy in the UPnP SSDP handling code (ssdp_msearch), reachable via an M-SEARCH request, that overflows a fixe…KEVEPSS 4.0%analysed9.3CVE-2025-53521F5 BIG-IP APM stack buffer overflow allows remote code executionA stack-based buffer overflow (CWE-121) exists in F5 BIG-IP Access Policy Manager when an APM access policy is configured on a virtual server. Specif…KEVEPSS 2.3%analysed8.8CVE-2008-0015Microsoft DirectShow Video ActiveX Control Stack Buffer OverflowA stack-based buffer overflow in the CComVariant::ReadFromStream function in the Active Template Library (ATL) is reachable through the MPEG2TuneRequ…KEVEPSS 77%analysed7.7CVE-2025-20352Cisco IOS and IOS XE SNMP stack overflow allows DoS and root code executionA stack-based buffer overflow in the SNMP subsystem of Cisco IOS and IOS XE Software can be triggered by a crafted SNMP packet sent over IPv4 or IPv6…KEVEPSS 39%analysed9.8CVE-2025-32756Fortinet FortiMail, FortiNDR, FortiVoice, FortiRecorder, FortiCamera stack buffer overflowA stack-based buffer overflow (CWE-121/CWE-787) in multiple Fortinet products is reachable by sending HTTP requests with a specially crafted hash coo…KEVEPSS 30%analysed

Source: NIST National Vulnerability Database (record CVE-2018-20247), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.