Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.5

CVE-2020-16291: Ghostscript may crash from specially crafted PDF

CVE-2020-16291 · published 6 years ago
Summary

Versions of Ghostscript from 9.18 through 9.50 can be forced to stop working when they open a malicious PDF file. This could interrupt printing or document processing services. Upgrade to Ghostscript 9.51 or later to prevent the issue.

What to do
  • Update debian ghostscript to version 9.51~dfsg-1.
  • Update artifex ghostscript to version 9.52 or later.
Affected software
Ecosystem VendorProductAffected versions
Debian:12 debian ghostscript < 9.51~dfsg-1
Fix: upgrade to 9.51~dfsg-1
Debian:13 debian ghostscript < 9.51~dfsg-1
Fix: upgrade to 9.51~dfsg-1
Debian:14 debian ghostscript < 9.51~dfsg-1
Fix: upgrade to 9.51~dfsg-1
– artifex ghostscript >= 9.18, < 9.52
cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:*
– debian debian_linux 9.0
10.0
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
– canonical ubuntu_linux 16.04
18.04
20.04
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
Original advisory text
A buffer overflow vulnerability in contrib/gdevdj9.c of Artifex Software GhostScript v9.18 to v9.50 allows a remote attacker to cause a denial of service via a crafted PDF file. This is fixed in v9...
A buffer overflow vulnerability in contrib/gdevdj9.c of Artifex Software GhostScript v9.18 to v9.50 allows a remote attacker to cause a denial of service via a crafted PDF file. This is fixed in v9.51.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker partial control (estimated)
Severity
5.5 Medium
Exploitation
2% chance of attack within 30 days
Type
CWE-787Out-of-bounds Write
Timeline
Published13 Aug 2020
Updated11 Nov 2026
First seen11 Sep 2026
Sources
CVE-2020-16291 · NVD
Track software like this
Free during beta