CVE-2020-16303
Ghostscript vulnerability analysis and mitigation

Overview

CVE-2020-16303 is a use-after-free vulnerability discovered in Artifex Software GhostScript version 9.50, specifically in the xps_finish_image_path() function located in devices/vector/gdevxps.c. The vulnerability was disclosed in August 2020 and affects the GhostScript PostScript and PDF interpreter (NVD, CVE).

Technical details

The vulnerability is classified as a use-after-free issue that occurs when processing certain PDF files. The flaw specifically manifests in the xps_finish_image_path() function within the devices/vector/gdevxps.c component. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

If exploited, this vulnerability could allow a remote attacker to escalate privileges through a specially crafted PDF file. The high CVSS score indicates potential severe impacts on system confidentiality, integrity, and availability (NVD).

Exploitability

The vulnerability requires user interaction to process a maliciously crafted PDF file. An exploit has been confirmed and documented in the bug tracking system (Ghostscript Bug).

Mitigation and workarounds

The vulnerability has been fixed in GhostScript version 9.51. Multiple Linux distributions have released security updates to address this vulnerability, including Ubuntu, Debian, and Gentoo. Users are advised to upgrade to the patched version (Ubuntu Notice, Debian Advisory, Gentoo Advisory).

Additional resources


SourceThis report was generated using AI

Related Ghostscript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59800MEDIUM5.5
  • Ghostscript logoGhostscript
  • ghostscript-x11
NoYesSep 22, 2025
CVE-2025-59799MEDIUM5.5
  • Ghostscript logoGhostscript
  • ghostscript-cups
NoYesSep 22, 2025
CVE-2025-59798MEDIUM5.5
  • Ghostscript logoGhostscript
  • ghostscript
NoYesSep 22, 2025
CVE-2025-59801MEDIUM4.3
  • Ghostscript logoGhostscript
  • ghostscript
NoYesSep 22, 2025
CVE-2026-6192LOW1.9
  • Ghostscript logoGhostscript
  • openjpeg2
NoYesApr 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management