CVE-2020-16292 json
A buffer overflow vulnerability in mj_raster_cmd() in contrib/japanese/gdevmjc.c of Artifex Software GhostScript v9.50 allows a remote atta…
published 2020-08-13 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-8253
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
A buffer overflow vulnerability in mj_raster_cmd() in contrib/japanese/gdevmjc.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.
Patch / fix
- artifex ghostscript 9.52
- ghostscript Debian 14, Debian 13, Debian 12 9.51~dfsg-1
debian advisories DEBIAN-CVE-2020-16292
- ghostscript Ubuntu 16.04 LTS 9.26~dfsg+0-0ubuntu0.16.04.13
- ghostscript Ubuntu 18.04 LTS 9.26~dfsg+0-0ubuntu0.18.04.13
- ghostscript Ubuntu 20.04 LTS 9.50~dfsg-5ubuntu4.2
ubuntu advisories UBUNTU-CVE-2020-16292
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ghostscript RHEL 8 9.27-1.el8
- libgs RHEL 8 9.27-1.el8
- ghostscript-x11 RHEL 8 9.27-1.el8
- ghostscript-tools-fonts RHEL 8 9.27-1.el8
- ghostscript-tools-dvipdf RHEL 8 9.27-1.el8
- ghostscript-tools-printing RHEL 8 9.27-1.el8
red hat advisories RHSA-2021:1852
- ghostscript AlmaLinux 8 9.27-1.el8
- libgs AlmaLinux 8 9.27-1.el8
- ghostscript-x11 AlmaLinux 8 9.27-1.el8
- ghostscript-tools-fonts AlmaLinux 8 9.27-1.el8
- ghostscript-tools-dvipdf AlmaLinux 8 9.27-1.el8
- ghostscript-tools-printing AlmaLinux 8 9.27-1.el8
almalinux advisories ALSA-2021:1852
- ghostscript Rocky Linux 8 9.27-1.el8
- ghostscript Rocky Linux 8 9.27-11.el8
rocky linux advisories RLSA-2021:1852
- ghostscript Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 9.51-r0
alpine advisories ALPINE-CVE-2020-16292
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-16292 updated cvss 5.5
ghostscript: buffer overflow in mj_raster_cmd() in contrib/japanese/gdevmjc.c could result in a DoS
-
Red Hat Enterprise Linux 5 ghostscript Red Hat Enterprise Linux 6 ghostscript, ghostscript-gtkaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 libgs, ghostscript, ghostscript-gtk, ghostscript-cupsaffected: workaround, no fix planned “Will not fix”
-
Red Hat CodeReady Linux Builder (v. 8) ghostscript-tools-fonts 9.27-1.el8, ghostscript-tools-dvipdf 9.27-1.el8, ghostscript-tools-printing 9.27-1.el8 Red Hat Enterprise Linux AppStream (v. 8) libgs 9.27-1.el8, ghostscript 9.27-1.el8, ghostscript-x11 9.27-1.el8fixed: vendor fix RHSA-2021:1852
-
Red Hat 3scale API Management Platform 2 ghostscriptnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.91% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.ghostscript.com https://bugs.ghostscript.com/show_bug.cgi?id=701793 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
bugs.ghostscript.com
/show_bug.cgi?id=701793
exploit, issue-tracking, vendor-advisory
-
debian.org
/security/2020/dsa-4748
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/202008-20
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4469-1/
vendor-advisory, third-party-advisory
- git.ghostscript.com /?p=ghostpdl.git%3Ba=commit%3Bh=863ada11f9a942a622a581312e2be022d9e2a6f7
-
lists.debian.org
/debian-lts-announce/2020/08/msg00032.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2020-16292
- NVD CVE-2020-16292
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.