Skip to main content
No exploitation reportedFix available

CVE-2020-16305

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 pcx_write_rle() in contrib/japanese/gdev10v.c of Artifex Software GhostScript 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.50= 9.50no fix published

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
  • ghostscriptopenSUSE:Tumbleweedall versions · fixed in 9.56.1-5.1
  • ghostscriptMageia:7all versions · fixed in 9.27-1.6.mga7

22 more package ranges on OSV.dev

Vendor advisories

  • CVE-2020-16305 Red Hat Product Security82 products fixed · 14 known affected

    ghostscript: buffer overflow in pcx_write_rle() in contrib/japanese/gdev10v.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. No fix available, says the vendor Red Hat Product Security CVE-2020-16305 · 8 productsFix deferred
  3. No fix planned, says the vendor Red Hat Product Security CVE-2020-16305 · 6 productsOut of support scope

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
Modified
GitHub advisory
GHSA-qg85-mf6m-qq9x

Frequently asked questions

What is CVE-2020-16305?

A buffer overflow vulnerability in pcx_write_rle() in contrib/japanese/gdev10v.c of Artifex Software GhostScript 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-16305 actively exploited?

Active exploitation of CVE-2020-16305 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-16305?

CVE-2020-16305 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