BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2020-16303 in Artifex Ghostscript and 2 more products

High 7.8

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.

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 3.17.8
EPSS1.8%
EPSS percentile79th
FixUnknown

Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Artifex Ghostscript 9.50
Canonical Ubuntu Linux 16.04 18.04 20.04
Debian Debian Linux 9.0 10.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-16303
BreachSpider IDBS-2020-GLOBAL-146613-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2020-08-13
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-416: Use After Free

Software references memory after it has been freed, leading to corruption, crashes, or code execution.

Analysis AI-written, not human-reviewed

A use-after-free vulnerability in GhostScript v9.50 allows a remote attacker to escalate privileges through a crafted PDF file.

The vulnerability exists in the xps_finish_image_path() function in the gdevxps.c file of the GhostScript software. An attacker can exploit this by sending a specially crafted PDF file to a system running an affected version of GhostScript, potentially leading to privilege escalation.

Questions

What is CVE-2020-16303?

A use-after-free vulnerability in GhostScript v9.50 allows a remote attacker to escalate privileges through a crafted PDF file.

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

CVE-2020-16303 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 1.8%.

Is CVE-2020-16303 actively exploited?

No confirmed active exploitation of CVE-2020-16303 as of 2026-09-25.

How do I remediate CVE-2020-16303?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2020-16303?

CVE-2020-16303 affects Artifex Ghostscript; Canonical Ubuntu Linux; Debian Debian Linux.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Artifex","product":"Ghostscript","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.