CVE-2019-5031 Memory corruption in Foxit

High 8.8 Published Updated

A memory corruption flaw in Foxit PDF Reader allows arbitrary code execution via a malicious PDF file or website.

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

CVE-2019-5031 is a high-severity memory corruption vulnerability in Foxitsoftware Phantompdf, published on 2 Oct 2019. 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 memory corruption vulnerability exists in the JavaScript engine of Foxit Software's Foxit PDF Reader, version 9.4.1.16828. A specially crafted PDF document can trigger an out-of-memory condition which isn't handled properly, 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-770, CWE-703

Which versions are affected by CVE-2019-5031?

It affects 2 products.

Products include Foxitsoftware Phantompdf, Foxitsoftware Reader.

How do I fix CVE-2019-5031?

No fix has been published for CVE-2019-5031 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-5031 being exploited?

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

All Foxitsoftware Phantompdf vulnerabilities

Sources

Also known as GHSA-v8q7-q2cx-mh43.

Is CVE-2019-5031 in your software?

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

Check your SBOMs for free