CVE-2026-57240 Foxit PDF Editor/Reader Form Field Use-After-Free Remote Code Execution Vulnerability

High 7.8 Published Updated

Attackers can execute arbitrary code or cause a crash by tricking users into opening a malicious PDF that triggers a use-after-free error in Foxit PDF products.

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-57240?

CVE-2026-57240 is a high-severity use after free vulnerability in Foxit Pdf Editor, published on 8 Jul 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

When the application opens a PDF file and JavaScript deletes the PDF fields, the subsequent logic still uses the old field pointers, resulting in invalid pointer references and causing the application to crash.

Weakness: CWE-416

Which versions are affected by CVE-2026-57240?

It affects 2 products.

Products include Foxit Pdf Editor, Foxit Pdf Reader.

How do I fix CVE-2026-57240?

No fix has been published for CVE-2026-57240 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-57240 being exploited?

There is no known exploitation of CVE-2026-57240 in the wild and no public exploit code.

All Foxit Pdf Editor vulnerabilities

Sources

Also known as GHSA-mvfx-5v77-ghpf.

Is CVE-2026-57240 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free