CVE-2026-5939 UAF in Foxit PDF Editor/Reader via XFA calculate event
A crafted XFA PDF triggers a use-after-free in Foxit PDF Editor/Reader, allowing attackers to execute arbitrary code or cause a crash.
- 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-2026-5939?
CVE-2026-5939 is a medium-severity use after free vulnerability in Foxit Pdf Editor, published on 27 Apr 2026. 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 crafted XFA PDF can trigger a use-after-free condition during calculate event processing, causing the application to crash and resulting in an arbitrary code execution.
Weakness: CWE-416
Which versions are affected by CVE-2026-5939?
It affects 2 products.
Products include Foxit Pdf Editor, Foxit Pdf Reader.
How do I fix CVE-2026-5939?
No fix has been published for CVE-2026-5939 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-2026-5939 being exploited?
There is no known exploitation of CVE-2026-5939 in the wild and no public exploit code.
Other vulnerabilities in Foxit Pdf Editor
Sources
Also known as GHSA-242w-wcg6-2fc6.