ZDI-26-722: Foxit PDF Reader Annotation Use-After-Free Remote Code Execution Vulnerability
ZDI disclosed a Foxit PDF Reader annotation use-after-free enabling remote code execution after user interaction (CVE-2026-91791).
Use-After-Free in Foxit PDF Editor/Reader via Crafted PDF JavaScript
Foxit PDF Editor and Reader contain a use-after-free flaw (CWE-416) that is triggered when the application processes a specially crafted PDF file. Malicious JavaScript inside the PDF causes a reentrant execution condition through page-visibility events, leading the app to access an already-freed page-view object while calculating annotation boundaries, producing an invalid memory read and a crash. Exploitation requires the victim to open a malicious PDF, so the flaw spreads primarily through phishing, malicious downloads, or booby-trapped documents. The described impact is at minimum an application crash (denial of service); the CVSS 3.1 vector also rates high confidentiality and integrity impact, which typically implies potential code execution, though only the memory-read/crash behavior is documented. There is no known public proof of concept and the issue is not in the CISA Known Exploited Vulnerabilities catalog, so no active exploitation has been observed.
What to do: Update Foxit PDF Editor/Reader to the latest release and consult Foxit's security bulletin for the exact fixed build, since affected version ranges are not enumerated here. As a defense-in-depth measure, disable or restrict JavaScript execution for PDFs in Foxit's preferences, since the flaw depends on JavaScript embedded in the document. Remind users not to open PDFs from untrusted sources, and monitor for crash reports involving annotation rendering as an indicator of attempted exploitation.
| Product | Affected |
|---|---|
| Foxit PDF Editor | — |
| Foxit PDF Reader | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
When processing a specially crafted PDF file, Foxit PDF Editor/Reader may encounter a reentrant execution condition involving JavaScript triggered by page-visibility events. This can cause the application to access a released page-view object while calculating annotation boundaries, resulting in an invalid memory read and application crash.
ZDI disclosed a Foxit PDF Reader annotation use-after-free enabling remote code execution after user interaction (CVE-2026-91791).
Today 1.6K readers · 2.5K views · 778 reads · all time 189K views