CVE-2026-57240: Use-After-Free in Foxit PDF Reader and Editor
A vulnerability in Foxit PDF Editor and PDF Reader allows an attacker to crash the application by crafting a malicious PDF file that uses JavaScript to delete form fields while the application is processing it. The application continues to reference the deleted fields using stale memory pointers, leading to a crash. This requires user interaction—someone must open the malicious PDF—but no special privileges are needed. While the immediate impact is denial of service through application crash, the underlying memory safety issue could potentially be leveraged for more serious attacks.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.8 HIGH · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses (CWE)
- CWE-416
- Affected products
- 3 configuration(s)
- Published / Modified
- 2026-07-08 / 2026-07-09
NVD description (verbatim)
When the application opens a PDF file and JavaScript deletes the PDF fields, the subsequent logic still uses the old field pointers, resulting in invalid pointer references and causing the application to crash.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-57240 is a use-after-free vulnerability (CWE-416) occurring in Foxit PDF Editor and PDF Reader when processing PDF files containing JavaScript that deletes form fields. The application maintains pointers to PDF fields and does not properly validate their validity after JavaScript execution. When the application's post-JavaScript processing logic attempts to access the deleted fields via these stale pointers, invalid memory references occur, resulting in application crash. The vulnerability is triggered through local file access with user interaction (opening a PDF), affecting Windows systems running vulnerable versions of the Foxit products.
Business impact
An attacker can disrupt workflow by causing PDF editing or reading operations to fail unexpectedly. For organizations relying on Foxit for PDF processing, repeated crashes could impact productivity and document handling pipelines. If the vulnerability were exploited at scale through targeted PDF distribution, it could serve as a denial-of-service vector. The crash itself does not result in data theft or system compromise, but the underlying memory issue represents a stability and potential security concern that should be addressed promptly.
Affected systems
Foxit PDF Editor and Foxit PDF Reader are directly affected. The vulnerability is specific to Windows systems running these Foxit products. Microsoft Windows is listed in the affected vendors_products set, likely because the memory management and execution environment are Windows-specific factors. Users should verify the exact affected version ranges in Foxit's official security advisory, as the source data does not specify which versions are vulnerable.
Exploitability
Exploitability requires user interaction—a victim must open a crafted PDF file using Foxit PDF Editor or Reader. No elevated privileges or complex attack setup is needed; a phishing email or malicious website hosting the PDF is sufficient as an attack vector. The attack surface is broad because PDF opening is a common user action. However, the fact that the vulnerability is not yet on the CISA Known Exploited Vulnerabilities (KEV) catalog suggests active exploitation in the wild has not been widely documented at the time of publication.
Remediation
Apply the latest security patch from Foxit for both PDF Editor and PDF Reader. Users should update to patched versions as soon as they become available—verify specific version numbers against Foxit's official security advisory. As an interim measure, avoid opening PDFs from untrusted sources and consider disabling JavaScript execution in PDF readers if the workflow permits. Monitor for updates from Foxit and deploy them promptly across all affected systems.
Patch guidance
Contact Foxit and review their security advisories for CVE-2026-57240 to obtain the exact patched version numbers for PDF Editor and PDF Reader on Windows. Deploy patches through your standard change management process. Test the patched versions in a controlled environment before broad rollout to ensure compatibility with your PDF workflows and integrations. Enable automatic updates if available, or schedule regular update checks to catch future security releases.
Detection guidance
Monitor for application crashes in Foxit PDF Editor and Reader, particularly when processing PDFs from external or untrusted sources. Implement file integrity monitoring on systems where Foxit is deployed. Consider sandboxing PDF opening operations or restricting PDF handling to specific user roles. Log and alert on Foxit application errors and abnormal terminations. If JavaScript is not required in your PDF workflows, disable it in Foxit settings to reduce attack surface.
Why prioritize this
This vulnerability scores 7.8 (HIGH) on CVSS 3.1 due to the combination of local attack vector with user interaction, high impact across confidentiality, integrity, and availability (the vector shows C:H/I:H/A:H), and broad affected user base. While not yet in active exploitation per KEV status, the ease of delivery via email or web and the widespread use of PDF readers make it a meaningful near-term risk. Organizations should prioritize patching to prevent workflow disruption and to eliminate a memory safety issue that could evolve.
Risk score, explained
The CVSS 3.1 score of 7.8 reflects: (1) Local Attack Vector—the PDF must be opened on the target system; (2) Low Attack Complexity—no special conditions needed once the PDF is opened; (3) No Privileges Required—the user opening the PDF needs no special rights; (4) User Interaction—the victim must open the malicious PDF; (5) High impact across all three CIA dimensions—the crash affects availability, but the underlying use-after-free could theoretically be extended to leak memory (confidentiality) or execute code (integrity). The HIGH severity rating appropriately captures the practical threat to systems running Foxit.
Frequently asked questions
Can this vulnerability be exploited remotely without user action?
No. The vulnerability requires a user to open a malicious PDF file locally using Foxit PDF Editor or Reader. It cannot be triggered remotely or without user interaction, though an attacker could distribute the PDF via email, messaging, or a compromised website.
What happens when the vulnerability is exploited?
The Foxit application crashes due to the use-after-free condition when JavaScript deletes PDF fields and the application tries to access them afterward. The crash results in denial of service to that user's PDF processing task, but does not directly compromise data or grant system access.
Are versions other than PDF Editor and PDF Reader affected?
Based on the provided source data, Foxit PDF Editor and PDF Reader are explicitly listed as affected. Other Foxit products have not been confirmed vulnerable; verify the vendor's advisory to confirm scope and check if other Foxit tools on your systems require updates.
Why is this rated as HIGH severity if it only causes a crash?
While the immediate visible impact is application crash (denial of service), the underlying use-after-free vulnerability (CWE-416) is a memory safety issue that could potentially be extended by sophisticated attackers to achieve memory disclosure or code execution. The HIGH rating appropriately accounts for this latent risk and the ease of delivery via PDF.
This analysis is provided for informational purposes and is based on publicly available vulnerability data as of the publication date. Specific patch version numbers, affected version ranges, and detailed mitigation steps should be verified against official Foxit security advisories and vendor guidance. No exploit code or weaponized proof-of-concept is included. Organizations should conduct their own risk assessment and testing before deploying patches or changes to security controls. SEC.co and this analysis do not guarantee the completeness or accuracy of all technical details and encourage organizations to consult primary sources and their security teams. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-13126HIGHUse-After-Free in Foxit PDF Reader and Editor – HIGH Severity Crash Vulnerability
- CVE-2026-13127HIGHFoxit PDF Reader/Editor Use-After-Free Crash Vulnerability
- CVE-2026-13128HIGHFoxit PDF Use-After-Free Denial of Service Vulnerability
- CVE-2026-13129HIGHUse-After-Free in Foxit PDF Editor & Reader Causes Denial of Service
- CVE-2026-57237HIGHFoxit PDF Use-After-Free Vulnerability (CVSS 7.8)
- CVE-2026-57238HIGHFoxit PDF Editor/Reader Use-After-Free Vulnerability
- CVE-2026-57242HIGHUse-After-Free in Foxit PDF Products and Windows – HIGH Severity
- CVE-2026-57244HIGHFoxit PDF Reader/Editor Use-After-Free Crash Vulnerability