Skip to main content
No exploitation reportedFix available

CVE-2020-16291

No exploitation reported by the sources we read.

  • Published2020-08-13
  • WeaknessCWE-787

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 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.

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.x≥ 9.18, < 9.529.52

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-16291 Red Hat Product Security82 products fixed · 14 known affected

    ghostscript: buffer overflow in contrib/gdevdj9.c could result in a DoS

    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. Workaround from the vendor Red Hat Product Security RHSA-2021:1852 · 82 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
  3. No fix planned, says the vendor Red Hat Product Security CVE-2020-16291 · 6 productsOut of support scope
  4. No fix planned, says the vendor Red Hat Product Security CVE-2020-16291 · 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:N/I:N/A:H
Published
2020-08-13
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-rh9f-46xr-5c59

Frequently asked questions

What is CVE-2020-16291?

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.

Is CVE-2020-16291 actively exploited?

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

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

CVE-2020-16291 has a CVSS v3 base score of 5.5 (Medium severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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