CVE-2026-57238: Foxit PDF Editor/Reader Use-After-Free Vulnerability
A vulnerability in Foxit PDF Editor and PDF Reader allows a maliciously crafted PDF to crash the application through JavaScript code that deletes form field objects and then attempts to access them. This type of use-after-free flaw can be triggered when a user simply opens a malicious PDF file, requiring no special configuration or user interaction beyond opening the document. The vulnerability affects both products on Windows systems and carries a CVSS score of 7.8 (HIGH severity).
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)
After the application opened the PDF, JavaScript deleted the form field object. Subsequently, it attempted to access the invalid object, which caused the application to crash.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-57238 is a use-after-free vulnerability (CWE-416) in Foxit PDF Editor and PDF Reader. The flaw occurs when JavaScript embedded in a PDF document deletes a form field object, and the application subsequently attempts to access the now-invalid object reference. This results in a crash due to dereferenced memory. The vulnerability is triggered automatically upon opening a malicious PDF, making the attack surface exceptionally wide since users routinely open PDF files from untrusted sources. The local attack vector combined with user interaction (opening the file) and the ability to achieve high impact across confidentiality, integrity, and availability justify the 7.8 CVSS rating.
Business impact
While the current known exploitation results in application crashes rather than data exfiltration or code execution, use-after-free vulnerabilities in PDF readers are historically significant attack primitives. A crash denies users access to the PDF content and may disrupt workflows. More critically, this type of memory corruption bug creates potential for elevation to arbitrary code execution if an attacker can reliably control heap layout or if future variants of similar flaws are weaponized. Organizations relying on Foxit products for document handling should treat this as a stability and potential escalation risk, especially in environments where PDFs from external sources are routinely processed.
Affected systems
The vulnerability affects Foxit PDF Editor and Foxit PDF Reader on Microsoft Windows platforms. No specific version ranges are provided in the advisory data; organizations must verify the exact patched versions against Foxit's official security advisory. The vulnerability does not appear to affect other PDF readers (such as Adobe Acrobat) based on the vendor list, though similar JavaScript-based form field manipulation techniques may exist elsewhere. Windows is the sole confirmed platform affected.
Exploitability
Exploitability is straightforward and does not require authentication, special privileges, or unusual user actions—only that a user opens a malicious PDF file. The attack does not require network access; the malicious PDF can be delivered via email, downloaded from a website, or transferred locally. JavaScript execution in PDF readers is a common feature, making the attack reliable across affected versions. However, the current manifestation is a denial-of-service via crash rather than remote code execution, which limits its appeal for targeted intrusions but makes it practical for disruption campaigns or as a stepping stone if combined with other heap exploitation techniques.
Remediation
Apply the latest security patch from Foxit for both PDF Editor and PDF Reader on all Windows systems. Verify patch version numbers against Foxit's official advisory, as this summary does not include specific version details. Until patched, implement compensating controls: disable JavaScript in PDF readers where feasible (often available in application settings), restrict PDF file opening to trusted sources, and consider sandboxing untrusted PDFs using third-party tools or virtual environments. User awareness training should emphasize the risk of opening PDFs from unknown senders.
Patch guidance
Foxit has released security updates addressing CVE-2026-57238. Verify the patched version number in Foxit's official security advisory—this summary does not specify which build versions contain the fix. Deploy patches to all Windows systems running Foxit PDF Editor or PDF Reader. For enterprise environments, test patches in a non-production environment first, particularly if critical workflows depend on the application. Priority should be given to systems that process PDFs from external or untrusted sources. Consider enforcement of automatic updates if your Foxit deployment supports it.
Detection guidance
Detection is challenging because the vulnerability is triggered silently when a user opens a crafted PDF. Monitor application crash logs and event viewer entries for Foxit PDF Editor/Reader crashes, especially clusters of crashes that might indicate malicious PDF distribution. Endpoint Detection and Response (EDR) tools may flag unusual heap manipulation or memory corruption patterns if configured with appropriate behavioral rules. Network-level detection is limited unless files are scanned in transit; sandboxed detonation of suspicious PDFs can identify malicious samples, though the crash-only behavior may not trigger all traditional malware signatures. Consider file integrity monitoring on systems that store or distribute PDFs internally.
Why prioritize this
This vulnerability merits prompt patching due to its high CVSS score, ease of exploitation, and the ubiquity of PDF handling in business environments. The attack surface is large because users receive PDFs daily and may not be suspicious of opening them. Although the current impact is denial-of-service, use-after-free bugs in PDF readers have historically been leveraged as stepping stones to code execution. Organizations should prioritize patching systems that accept external PDFs (e.g., support teams, legal departments, research organizations) within 30 days, with extended timelines acceptable for internal-only systems with strict PDF source controls.
Risk score, explained
The CVSS 7.8 (HIGH) score reflects an attack vector that requires local access and user interaction (opening a file), but carries potential for high impact: the use-after-free condition can crash the application (availability), and similar memory corruption bugs can be leveraged for confidentiality or integrity violations. The vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) indicates no special privileges or complex attack conditions are required. The score does not yet account for potential elevation to code execution, which would warrant a CRITICAL rating; it is assessed on the demonstrated denial-of-service behavior.
Frequently asked questions
Can this vulnerability be exploited remotely, or does the user have to be local to the machine?
The vulnerability is triggered when a user opens a malicious PDF file locally on their Windows machine. However, the PDF itself can be delivered remotely via email, web download, or file-sharing services, so the practical attack surface is effectively remote. What matters is that the user must interact with (open) the PDF file to trigger the flaw.
Does this vulnerability allow code execution, or just a crash?
The currently documented exploitation results in an application crash (denial-of-service). However, use-after-free vulnerabilities are a well-known primitive for achieving arbitrary code execution through heap exploitation. Organizations should assume that future variants or more sophisticated exploitation chains could lead to code execution and prioritize patching accordingly.
Are other PDF readers, such as Adobe Acrobat or Windows Edge PDF viewer, vulnerable?
Based on available information, this vulnerability is specific to Foxit PDF Editor and Foxit PDF Reader. Other PDF readers are not confirmed affected. That said, if they also support JavaScript in PDFs, similar form field manipulation techniques may pose risks, and vendors should be monitored for related advisories.
What should we do if we cannot patch immediately?
Implement compensating controls: disable JavaScript execution in Foxit if your workflows permit, restrict PDF opening to trusted sources only, educate users not to open PDFs from unknown senders, and consider sandboxing or detonating suspicious PDFs in an isolated environment before distribution. Apply patches as soon as feasible, targeting systems that process external PDFs first.
This analysis is provided for informational purposes and reflects publicly available CVE data as of the publication date. Specific patch version numbers, detailed exploitation scenarios, and vendor-specific remediation steps should be verified directly against Foxit's official security advisory. Organizations should conduct their own risk assessment based on their environment, threat model, and PDF handling practices. No exploit code or proof-of-concept is provided; this summary is intended for defensive security planning only. 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-57240HIGHUse-After-Free in Foxit PDF Reader and Editor
- CVE-2026-57242HIGHUse-After-Free in Foxit PDF Products and Windows – HIGH Severity
- CVE-2026-57244HIGHFoxit PDF Reader/Editor Use-After-Free Crash Vulnerability