CVE-2019-17142 Use after free in PhantomPDF
Remote attackers can execute arbitrary code via a malicious PDF file due to a use-after-free flaw in Foxit PhantomPDF.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2019-17142?
CVE-2019-17142 is a high-severity use after free vulnerability in Foxitsoftware Phantompdf, published on 25 Oct 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.6.0.25114. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the processing of script within a Keystroke action of a listbox field. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-9081.
Weakness: CWE-416
Which versions are affected by CVE-2019-17142?
It affects 1 product.
Products include Foxitsoftware Phantompdf.
How do I fix CVE-2019-17142?
No fix has been published for CVE-2019-17142 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-17142 being exploited?
There is no known exploitation of CVE-2019-17142 in the wild and no public exploit code.
Other vulnerabilities in Foxitsoftware Phantompdf
Sources
Also known as GHSA-323w-vcff-w7mp.