Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2020-16294
Ghostscript vulnerability analysis and mitigation

Overview

CVE-2020-16294 is a buffer overflow vulnerability discovered in the epsc_print_page() function within devices/gdevepsc.c of Artifex Software GhostScript version 9.50. The vulnerability was reported on October 26, 2019, and fixed in version 9.51 (Ghostscript Bug).

Technical details

The vulnerability is a global buffer overflow that occurs in the epsc_print_page() function at line 186 in devices/gdevepsc.c. When processing certain PDF files, the function attempts to read 4 bytes at an invalid memory location, which triggers a buffer overflow condition. The vulnerability has a CVSS v3.1 base score of 5.5 (Medium), with attack vector being Local, attack complexity Low, privileges required None, and user interaction Required (Ubuntu Security).

Impact

When exploited, this vulnerability allows a remote attacker to cause a denial of service condition through a specially crafted PDF file (NVD).

Exploitability

The vulnerability can be triggered by processing a maliciously crafted PDF file using the affected versions of GhostScript. A proof of concept exploit was provided in the original bug report demonstrating the buffer overflow using the command 'gs -r680 -sOutputFile=tmp -sDEVICE=epsonc' with a crafted PDF file (Ghostscript Bug).

Mitigation and workarounds

The vulnerability was fixed in GhostScript version 9.51. Users are advised to upgrade to this version or later. Multiple Linux distributions have released security updates to address this vulnerability, including Ubuntu (USN-4469-1), Debian (DSA-4748), and Gentoo (GLSA 202008-20) (Ubuntu Notice, Debian Security, Gentoo Security).

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-2026-39919CRITICAL9.3
  • Ghostscript logoGhostscript
  • ghostscript
NoNoSep 15, 2026
CVE-2025-59800MEDIUM5.5
  • Ghostscript logoGhostscript
  • ghostscript-devel
NoYesSep 22, 2025
CVE-2025-59799MEDIUM5.5
  • Ghostscript logoGhostscript
  • ghostscript-tools-dvipdf
NoYesSep 22, 2025
CVE-2025-59801MEDIUM4.3
  • Ghostscript logoGhostscript
  • ghostscript-devel
NoYesSep 22, 2025
CVE-2026-6192LOW1.9
  • Ghostscript logoGhostscript
  • texmaker
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