CVE-2018-20315 in Foxitsoftware Reader and 1 more product
Foxit Reader before 9.5, and PhantomPDF before 8.3.10 and 9.x before 9.5, has a race condition that can cause a stack-based buffer overflow or an out-of-bounds read.
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Foxitsoftware | Reader | < 9.5 |
| Foxitsoftware | Phantompdf | < 8.3.10 ≥ 9.0, < 9.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Foxit Reader before 9.5, and PhantomPDF before 8.3.10 and 9.x before 9.5, has a race condition that can cause a stack-based buffer overflow or an out-of-bounds read.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-20315 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-128313-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-01-07 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A race condition in Foxit Reader before 9.5 and PhantomPDF before 8.3.10 and 9.x before 9.5 can lead to a stack-based buffer overflow or an out-of-bounds read, potentially allowing an attacker to execute arbitrary code or cause a denial of service.
The vulnerability arises from a race condition that can be triggered when processing a specially crafted PDF file. This can lead to a stack-based buffer overflow or an out-of-bounds read, which could be exploited to execute arbitrary code in the context of the application or cause the application to crash.
Questions
What is CVE-2018-20315?
A race condition in Foxit Reader before 9.5 and PhantomPDF before 8.3.10 and 9.x before 9.5 can lead to a stack-based buffer overflow or an out-of-bounds read, potentially allowing an attacker to execute arbitrary code or cause a denial of service.
What is the CVSS score for CVE-2018-20315?
CVE-2018-20315 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.8%.
Is CVE-2018-20315 actively exploited?
No confirmed active exploitation of CVE-2018-20315 as of 2026-05-30.
How do I remediate CVE-2018-20315?
Priority: IMMEDIATE. Advisory: https://www.foxitsoftware.com/support/security-bulletins.php
What systems are affected by CVE-2018-20315?
CVE-2018-20315 affects Foxitsoftware Reader, Phantompdf.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Foxitsoftware","product":"Reader","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.