CVE-2018-3940 Use after free in Foxit PDF Reader
A use-after-free vulnerability in Foxit PDF Reader allows attackers to execute arbitrary code by tricking users into opening 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-3940?
CVE-2018-3940 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 PDF Reader, version 9.1.0.5096. A specially crafted PDF document can trigger a previously freed object in memory to be reused. An attacker needs to trick the user to open the malicious file to trigger.
Weakness: CWE-416
Which versions are affected by CVE-2018-3940?
It affects 2 products.
Products include Foxitsoftware Phantompdf, Foxitsoftware Reader.
How do I fix CVE-2018-3940?
No fix has been published for CVE-2018-3940 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-3940 being exploited?
There is no known exploitation of CVE-2018-3940 in the wild and no public exploit code.
Other vulnerabilities in Foxitsoftware Phantompdf
Sources
Also known as GHSA-mmqm-wj2w-f634.