CVE-2019-5131 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 or website, requiring user interaction.

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-2019-5131?

CVE-2019-5131 is a high-severity use after free vulnerability in Foxitsoftware Phantompdf, published on 16 Jan 2020. 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

An exploitable use-after-free vulnerability exists in the JavaScript engine of Foxit Software's Foxit PDF Reader, version 9.7.0.29435. A specially crafted PDF document can trigger a previously freed object in memory to be reused, resulting in arbitrary code execution. An attacker needs to trick the user to open the malicious file to trigger this vulnerability. If the browser plugin extension is enabled, visiting a malicious site can also trigger the vulnerability.

Weakness: CWE-416

Which versions are affected by CVE-2019-5131?

It affects 2 products.

Products include Foxitsoftware Phantompdf, Foxitsoftware Reader.

How do I fix CVE-2019-5131?

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

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

All Foxitsoftware Phantompdf vulnerabilities

Sources

Also known as GHSA-864g-2436-49mm.

Is CVE-2019-5131 in your software?

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

Check your SBOMs for free