CVE-2020-16303 Use after free in n/a

High 7.8 Published Updated

A remote attacker can execute arbitrary code and escalate privileges by tricking a user into opening a crafted PDF file processed by GhostScript.

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
Available

What is CVE-2020-16303?

CVE-2020-16303 is a high-severity use after free vulnerability in Artifex Ghostscript, published on 13 Aug 2020. 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

A use-after-free vulnerability in xps_finish_image_path() in devices/vector/gdevxps.c of Artifex Software GhostScript v9.50 allows a remote attacker to escalate privileges via a crafted PDF file. This is fixed in v9.51.

Weakness: CWE-416

Which versions are affected by CVE-2020-16303?

It affects 3 products.

Products include Artifex Ghostscript, Canonical Ubuntu Linux, Debian Debian Linux.

How do I fix CVE-2020-16303?

Upgrade to a fixed version.

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-2020-16303 being exploited?

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

All Artifex Ghostscript vulnerabilities

Sources

Also known as ALPINE-CVE-2020-16303, DEBIAN-CVE-2020-16303, GHSA-3jwg-r279-2xj2, UBUNTU-CVE-2020-16303.

Is CVE-2020-16303 in your software?

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

Check your SBOMs for free