BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-38572 in Foxitsoftware Foxit Reader and 1 more product

Critical 9.8

An issue was discovered in Foxit Reader and PhantomPDF before 10.1.4. It allows writing to arbitrary files because the extractPages pathname is not validated.

Affects 2 products from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
EPSS1.1%
EPSS percentile65th
FixSee advisory

Remotely exploitable over the network, low 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

VendorProductAffected versions
Foxitsoftware Foxit Reader < 10.1.4
Foxitsoftware Phantompdf < 10.1.4

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

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

An issue was discovered in Foxit Reader and PhantomPDF before 10.1.4. It allows writing to arbitrary files because the extractPages pathname is not validated.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-38572
BreachSpider IDBS-2021-GLOBAL-305268-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2021-08-11
Last modified2026-06-17
SourceNVD

Analysis AI-written, not human-reviewed

A critical vulnerability in Foxit Reader and PhantomPDF before version 10.1.4 allows attackers to write to arbitrary files due to improper validation of the extractPages pathname.

The vulnerability can be exploited by tricking a user into opening a specially crafted PDF file. The malicious PDF file can execute arbitrary code on the target system, leading to a potential compromise of the system.

Questions

What is CVE-2021-38572?

A critical vulnerability in Foxit Reader and PhantomPDF before version 10.1.4 allows attackers to write to arbitrary files due to improper validation of the extractPages pathname.

What is the CVSS score for CVE-2021-38572?

CVE-2021-38572 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.1%.

Is CVE-2021-38572 actively exploited?

No confirmed active exploitation of CVE-2021-38572 as of 2026-09-25.

How do I remediate CVE-2021-38572?

Priority: IMMEDIATE. Advisory: https://www.foxitsoftware.com/support/security-bulletins.php PSIRT: [email protected]

What systems are affected by CVE-2021-38572?

CVE-2021-38572 affects Foxitsoftware Foxit 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":"Foxit Reader","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.