CVE-2019-5047 Use after free in NitroPDF

High 7.5 Published Updated

A crafted PDF triggers a use-after-free in NitroPDF, potentially allowing remote code execution via type confusion.

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

CVE-2019-5047 is a high-severity use after free vulnerability in NitroPDF, published on 9 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 Use After Free vulnerability exists in the CharProcs parsing functionality of NitroPDF. A specially crafted PDF can cause a type confusion, resulting in a Use After Free. An attacker can craft a malicious PDF to trigger this vulnerability.

Weakness: CWE-843, CWE-416

Which versions are affected by CVE-2019-5047?

It affects 1 product.

Products include Gonitro Nitropdf.

How do I fix CVE-2019-5047?

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

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

Sources

Also known as GHSA-4386-ccwc-33g5.

Is CVE-2019-5047 in your software?

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

Check your SBOMs for free