Skip to main content
No exploitation reportedFix available

CVE-2020-16303

No exploitation reported by the sources we read.

  • Published2020-08-13
  • WeaknessCWE-416

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2020-08-1303:15CVE publishedNVD

Versions per branch

NVD
Canonical ubuntu linux
BranchAffectedFixed in
16.4= 16.04no fix published
18.4= 18.04no fix published
20.4= 20.04no fix published
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published
10.0= 10.0no fix published
Artifex ghostscript
BranchAffectedFixed in
9.50= 9.50no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ghostscriptUbuntu:20.04:LTSall versions · fixed in 9.50~dfsg-5ubuntu4.2
  • ghostscriptUbuntu:18.04:LTSall versions · fixed in 9.26~dfsg+0-0ubuntu0.18.04.13
  • ghostscriptUbuntu:16.04:LTSall versions · fixed in 9.26~dfsg+0-0ubuntu0.16.04.13
  • ghostscriptRocky Linux:8all versions · fixed in 0:9.27-1.el8
  • ghostscriptRocky Linux:8all versions · fixed in 0:9.27-11.el8
  • ghostscriptRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:9.27-1.el8and 7 other packages
  • ghostscriptMageia:7all versions · fixed in 9.27-1.6.mga7
  • ghostscriptDebian:14all versions · fixed in 9.51~dfsg-1

20 more package ranges on OSV.dev

Vendor advisories

  • CVE-2020-16303 Red Hat Product Security82 products fixed · 14 known affected

    ghostscript: use-after-free in xps_finish_image_path() in devices/vector/gdevxps.c could result in a privilege escalation

    ghostscript.src as a component of Red Hat Enterprise Linux 5 · ghostscript as a component of Red Hat Enterprise Linux 6 · ghostscript-devel as a component of Red Hat Enterprise Linux 6 · +11 more

  • RHSA-2021:1852 Red Hat Product Security82 products fixed

    Red Hat Security Advisory: ghostscript security, bug fix, and enhancement update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2021:1852 · 82 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. No fix planned, says the vendor Red Hat Product Security CVE-2020-16303 · 6 productsOut of support scope
  3. No fix planned, says the vendor Red Hat Product Security CVE-2020-16303 · 8 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2020-08-13
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-3jwg-r279-2xj2

Frequently asked questions

What is CVE-2020-16303?

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.

Is CVE-2020-16303 actively exploited?

Active exploitation of CVE-2020-16303 has not been confirmed. Its EPSS score was 1.8% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-16303?

CVE-2020-16303 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running ghostscript? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record