CVE-2019-6734 Use after free in PhantomPDF

Medium 6.5 Published Updated

Remote attackers can disclose sensitive information and potentially execute code via a use-after-free flaw in Foxit PhantomPDF 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-6734?

CVE-2019-6734 is a medium-severity use after free vulnerability in Foxitsoftware Phantompdf, published on 19 Mar 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

This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit PhantomPDF. 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 handling of the setInterval method. By performing actions in JavaScript, an attacker can cause a pointer to be reused after it has been freed. An attacker can leverage this in conjunction with other vulnerabilities to execute code in the context of the current process. Was ZDI-CAN-7452.

Weakness: CWE-416

Which versions are affected by CVE-2019-6734?

It affects 2 products.

Products include Foxitsoftware Phantompdf, Foxitsoftware Reader.

How do I fix CVE-2019-6734?

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

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

All Foxitsoftware Phantompdf vulnerabilities

Sources

Also known as GHSA-w8fm-fqjf-5c29.

Is CVE-2019-6734 in your software?

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

Check your SBOMs for free