CVE-2025-66495 Foxit PDF Reader Annotation Use-After-Free Remote Code Execution Vulnerability
A remote attacker can execute arbitrary code by tricking a user into opening a malicious PDF file in Foxit PDF Reader.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-66495?
CVE-2025-66495 is a high-severity use after free vulnerability in Foxit Pdf Editor, published on 19 Dec 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
A use-after-free vulnerability exists in the annotation handling of Foxit PDF Reader before 2025.2.1, 14.0.1, and 13.2.1 on Windows and MacOS. When opening a PDF containing specially crafted JavaScript, a pointer to memory that has already been freed may be accessed or dereferenced, potentially allowing a remote attacker to execute arbitrary code.
Weakness: CWE-416
Which versions are affected by CVE-2025-66495?
It affects 2 products.
Products include Foxit Pdf Editor, Foxit Pdf Reader.
How do I fix CVE-2025-66495?
No fix has been published for CVE-2025-66495 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-66495 being exploited?
There is no known exploitation of CVE-2025-66495 in the wild and no public exploit code.
Other vulnerabilities in Foxit Pdf Editor
Sources
Also known as GHSA-xr34-pc3c-449f.