Skip to main content

Foxit PDF Reader/Editor CVE-2026-5940

| EUVDEUVD-2026-25826 HIGH
Use After Free (CWE-416)
2026-04-27 Foxit
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Craft malicious PDF with JS
  2. Delivery
    Social engineering delivery
  3. Exploit
    User opens PDF
  4. Install
    JavaScript deletes comments
  5. C2
    UI refresh triggers use-after-free
  6. Execute
    Memory corruption enables code execution
  7. Impact
    Arbitrary code runs as user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires user to open a specially crafted PDF file containing malicious JavaScript code in a vulnerable version of Foxit PDF Reader or Editor. JavaScript execution must be enabled in the application (enabled by default in standard configurations). The PDF must contain both removable comment objects and scripting that performs the specific sequence of comment deletion followed by UI refresh function calls. Exploitation delivers local code execution at the privilege level of the user who opened the PDF. Does not work against users who have disabled JavaScript in PDF reader preferences or organizations using PDF sanitization gateways that strip JavaScript before delivery.

Impact

Real-world risk is moderate despite the 7.8 CVSS score. The CVSS vector (AV:L/AC:L/PR:N/UI:R) indicates local attack vector with low complexity but mandatory user interaction - attackers must deliver a malicious PDF and convince users to open it, typically via phishing or watering hole attacks. The UI:R requirement prevents automated mass exploitation and significantly reduces SSVC automatable score. No EPSS data provided, but user interaction dependency typically correlates with lower exploitation probability compared to network services. Not present in CISA KEV, indicating no confirmed active exploitation campaigns. The high impact scores (C:H/I:H/A:H) reflect successful exploitation grants full code execution privileges, potentially allowing malware installation or data theft. Primary risk exists for organizations handling untrusted PDFs, especially in email-heavy environments. The vulnerability requires specific JavaScript actions in PDFs, which security-conscious organizations may already block via PDF reader hardening policies that disable JavaScript execution.

Exploit ScenarioDerived

An attacker crafts a malicious PDF document containing embedded JavaScript that programmatically deletes comment annotations and immediately triggers a UI refresh operation, causing the application to dereference freed memory. The attacker delivers this PDF via phishing email with a convincing pretext (invoice, resume, contract). When the victim opens the PDF in vulnerable Foxit PDF Reader, the JavaScript executes automatically or upon user interaction with document elements, triggering the use-after-free condition and allowing the attacker to execute arbitrary code in the context of the user's session, potentially installing malware or exfiltrating documents.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Apr 27, 2026

Use-after-free in Foxit PDF Reader and Foxit PDF Editor allows arbitrary code execution when specially crafted PDF documents trigger UI refresh operations after comment deletion via scripting. Local attackers can deliver malicious PDFs and achieve code execution with high integrity and confidentiality impact once a user opens the file. CVSS 7.8 indicates high severity but requires user interaction, limiting automated exploitation. No public exploit code or active exploitation confirmed at time of analysis.

Earlier versions of this analysis (1)
v1 Apr 27, 2026 - 12:01 CVSS 7.8

Use-after-free vulnerability in Foxit PDF Editor and Foxit PDF Reader allows local attackers to execute arbitrary code or cause denial of service when scripted comment deletion is followed by UI refresh operations. The flaw requires user interaction with a malicious PDF file but does not require authentication, enabling potential code execution with high impact to confidentiality, integrity, and availability. No active exploitation confirmed at time of analysis.

RemediationAI

Apply vendor-released patches available through Foxit's security bulletin portal at https://www.foxit.com/support/security-bulletins.html. Specific patched versions not enumerated in available data - refer to the bulletin for exact fixed versions for PDF Reader and PDF Editor respectively. As an interim compensating control, disable JavaScript execution in Foxit PDF products via Edit > Preferences > JavaScript > Enable JavaScript Actions (uncheck), which prevents the scripting trigger required for exploitation but breaks PDF forms and interactive features that rely on JavaScript. For enterprise deployments, implement application whitelisting to block execution of processes spawned from PDF reader processes, limiting post-exploitation impact. Email gateway scanning should flag PDFs containing JavaScript and subject them to enhanced scrutiny or quarantine pending user approval.

Affected VersionsENISA

Foxit PDF Reader Versions 2026.1 and earlier
Foxit PDF Editor Versions 13.2.3 and earlier
Foxit PDF Editor Versions 14.0.3 and earlier
Foxit PDF Editor Versions 2026.1 and earlier

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a use-after-free vulnerability (CWE-416) in Foxit's PDF rendering engine, affecting both the commercial PDF Editor and free PDF Reader products. The flaw occurs in the JavaScript scripting engine's interaction with the UI rendering subsystem. When embedded JavaScript code programmatically removes comments from a PDF document and subsequently triggers a UI refresh operation, the application accesses memory that has already been deallocated. Use-after-free conditions are particularly dangerous in document readers because they allow attackers to control freed memory contents through carefully structured PDF objects, enabling arbitrary code execution. The vulnerability exists in the object lifecycle management between the scripting API and the UI rendering pipeline, where the comment deletion invalidates pointers that are later dereferenced during screen updates.

Know when Foxit Pdf Editor gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Calling a function that triggers a UI refresh after removing comments via a script may access an invalidated object, leading to program crashes.

Executive ViewAI

Why It Matters

Foxit PDF Reader and Foxit PDF Editor contain a use-after-free vulnerability (CVE-2026-5940) that allows attackers to execute arbitrary code when users open specially crafted PDF documents. This vulnerability directly impacts any organization using Foxit products to handle external PDF files, with no available vendor patch, requiring immediate compensating controls to prevent potential data exfiltration and system compromise.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable JavaScript/scripting functionality in Foxit applications via preferences or group policy to prevent comment deletion triggers; (2) Restrict PDF file access to isolated sandboxed environments or virtual machines for processing external documents; (3) Implement network-level controls to block PDF delivery from untrusted external sources; (4) Require users to obtain PDFs only from verified internal sources; (5) Monitor Foxit security advisories for patch availability and deploy immediately upon release.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-91814 MEDIUM POC
5.3 Sep 23

Content spoofing in Foxit PDF Editor and Foxit PDF Reader allows remote attackers to alter visible content in incrementa

CVE-2026-91800 HIGH
8.8 Sep 23

Local privilege escalation in Foxit PDF Editor for macOS allows an attacker with a low-privilege foothold to execute arb

CVE-2026-91798 HIGH
8.8 Sep 23

A local privilege escalation vulnerability in the auto-update daemon shipped with Foxit PDF Editor and Foxit PDF Reader

CVE-2026-91812 HIGH
8.1 Sep 23

Man-in-the-middle attackers occupying the network path of Foxit PDF Editor and Foxit PDF Reader software-update traffic

CVE-2026-91797 HIGH
7.8 Sep 23

Path traversal in the attachment-handling logic of Foxit PDF Editor and Foxit PDF Reader lets a crafted PDF write an emb

CVE-2026-91794 HIGH
7.8 Sep 23

An out-of-bounds write (CWE-787) in the PDF rendering engine of Foxit PDF Editor and Foxit PDF Reader can be triggered w

CVE-2026-91789 HIGH
7.8 Sep 23

Out-of-bounds write in the U3D/GIF texture decoding path of Foxit PDF Editor and Foxit PDF Reader allows a crafted PDF t

CVE-2026-91801 HIGH
7.8 Sep 23

Insufficient validation of embedded-resource file paths in Foxit PDF Editor and Foxit PDF Reader (CVE-2026-91801) lets a

CVE-2026-91791 HIGH
7.8 Sep 23

Foxit PDF Editor and Reader can crash due to a use-after-free (CWE-416) when a user opens a specially crafted PDF that i

CVE-2026-91799 HIGH
7.8 Sep 23

Use-after-free in Foxit PDF Editor and Foxit PDF Reader (CWE-416) lets a specially crafted PDF trigger memory corruption

CVE-2026-91815 HIGH
7.8 Sep 23

Heap-based out-of-bounds write in Foxit PDF Editor and Foxit PDF Reader occurs when the products decode JPEG2000 image d

CVE-2026-91790 HIGH
7.8 Sep 23

A use-after-free in Foxit PDF Editor and Foxit PDF Reader can be triggered by opening a crafted PDF whose image objects

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy