CVE-2018-3945 Use after free in Foxit PDF Reader

High 8.0 Published Updated

A use-after-free in Foxit PDF Reader allows arbitrary code execution when a user opens a malicious PDF file.

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

What is CVE-2018-3945?

CVE-2018-3945 is a high-severity use after free vulnerability in Foxitsoftware Phantompdf, published on 8 Oct 2018. Any signed-in user can exploit it over the network, 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.1.0.5096. 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.

Weakness: CWE-416

Which versions are affected by CVE-2018-3945?

It affects 2 products.

Products include Foxitsoftware Phantompdf, Foxitsoftware Reader.

How do I fix CVE-2018-3945?

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

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

All Foxitsoftware Phantompdf vulnerabilities

Sources

Also known as GHSA-vrj4-5p23-wmxc.

Is CVE-2018-3945 in your software?

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

Check your SBOMs for free