CVE-2019-5042 Use after free in Aspose.PDF for C++

High 8.8 Published Updated

A use-after-free vulnerability in Aspose.PDF for C++ allows attackers to execute arbitrary code via a specially crafted PDF file.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-5042?

CVE-2019-5042 is a high-severity use after free vulnerability in Talos Aspose.PDF for C++, published on 18 Sep 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An exploitable Use-After-Free vulnerability exists in the way FunctionType 0 PDF elements are processed in Aspose.PDF 19.2 for C++. A specially crafted PDF can cause a dangling heap pointer, resulting in a use-after-free. An attacker can send a malicious PDF to trigger this vulnerability.

Weakness: CWE-416

Which versions are affected by CVE-2019-5042?

It affects 1 product.

Products include Aspose Aspose.pdf for C\+\+.

How do I fix CVE-2019-5042?

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

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

Sources

Also known as GHSA-cf89-rm5v-j67r.

Is CVE-2019-5042 in your software?

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

Check your SBOMs for free