CVE-2021-21870 Use after free in Foxit

High 8.8 Published Updated

A use-after-free in Foxit PDF Reader allows arbitrary code execution via a malicious PDF, requiring the browser plugin extension to be enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-21870?

CVE-2021-21870 is a high-severity use after free vulnerability in Foxit Pdf Reader, published on 5 Aug 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A use-after-free vulnerability exists in the JavaScript engine of Foxit Software’s PDF Reader, version 10.1.4.37651. A specially crafted PDF document can trigger the reuse of previously free memory, which can lead to arbitrary code execution. An attacker needs to trick the user into opening a malicious file or site to trigger this vulnerability if the browser plugin extension is enabled.

Weakness: CWE-416

Which versions are affected by CVE-2021-21870?

It affects 1 product.

Products include Foxit Pdf Reader.

How do I fix CVE-2021-21870?

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

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

All Foxit Pdf Reader vulnerabilities

Sources

Also known as GHSA-4cm9-vfcj-fcm5.

Is CVE-2021-21870 in your software?

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

Check your SBOMs for free