CVE-2020-16287
published 2020-08-13CVE-2020-16287: A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn.c of Artifex Software GhostScript v9.50 allows a remote attacker to cause a denial…
PriorityP422medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.87%
77.0th percentile
A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn.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.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | < 9.52 | 9.52 |
| artifex | ghostscript | >= 0 < 9.51~dfsg-1 | 9.51~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.51~dfsg-1 | 9.51~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.51~dfsg-1 | 9.51~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.51~dfsg-1 | 9.51~dfsg-1 |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | ghostscript | < ghostscript 9.51~dfsg-1 (bookworm) | ghostscript 9.51~dfsg-1 (bookworm) |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-rjwj-p23j-79pm: A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn
ghsa_unreviewed·2022-05-24
CVE-2020-16287 [MEDIUM] CWE-787 GHSA-rjwj-p23j-79pm: A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn
A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn.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.
OSV
CVE-2020-16287: A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn
osv·2020-08-13·CVSS 5.5
CVE-2020-16287 [MEDIUM] CVE-2020-16287: A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn
A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn.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.
Ubuntu
Ghostscript vulnerabilities
vendor_ubuntu·2020-08-24
CVE-2020-16297 Ghostscript vulnerabilities
Title: Ghostscript vulnerabilities
Summary: Several security issues were fixed in Ghostscript.
It was discovered that Ghostscript incorrectly handled certain document
files. If a user or automated system were tricked into processing a
specially crafted file, a remote attacker could use this issue to cause
Ghostscript to crash, resulting in a denial of service, or possibly
execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ghostscript: buffer overflow in lprn_is_black() in contrib/lips4/gdevlprn.c could result in a DoS
vendor_redhat·2020-08-13·CVSS 5.5
CVE-2020-16287 [MEDIUM] CWE-682 ghostscript: buffer overflow in lprn_is_black() in contrib/lips4/gdevlprn.c could result in a DoS
ghostscript: buffer overflow in lprn_is_black() in contrib/lips4/gdevlprn.c could result in a DoS
A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn.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.
Mitigation: Mitigation 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.
Package: ghostscript (Red Hat 3scale API Management Platform 2) - Not affected
Package: ghostscript (Red Hat Enterprise Linux 5) - Out of support scope
Package: ghostscript (Red Hat Enterprise Linux 6) - Out of support scope
Packag
Debian
CVE-2020-16287: ghostscript - A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn.c o...
vendor_debian·2020·CVSS 5.5
CVE-2020-16287 [MEDIUM] CVE-2020-16287: ghostscript - A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn.c o...
A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn.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.
Scope: local
bookworm: resolved (fixed in 9.51~dfsg-1)
bullseye: resolved (fixed in 9.51~dfsg-1)
forky: resolved (fixed in 9.51~dfsg-1)
sid: resolved (fixed in 9.51~dfsg-1)
trixie: resolved (fixed in 9.51~dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-16287 ghostscript: buffer overflow in lprn_is_black() in contrib/lips4/gdevlprn.c could result in a DoS via a crafted PDF file [fedora-all]
bugzilla·2020-08-19·CVSS 5.5
CVE-2020-16287 [MEDIUM] CVE-2020-16287 ghostscript: buffer overflow in lprn_is_black() in contrib/lips4/gdevlprn.c could result in a DoS via a crafted PDF file [fedora-all]
CVE-2020-16287 ghostscript: buffer overflow in lprn_is_black() in contrib/lips4/gdevlprn.c could result in a DoS via a crafted PDF file [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpk
Bugzilla
CVE-2020-16287 ghostscript: buffer overflow in lprn_is_black() in contrib/lips4/gdevlprn.c could result in a DoS
bugzilla·2020-08-19·CVSS 5.5
CVE-2020-16287 [MEDIUM] CVE-2020-16287 ghostscript: buffer overflow in lprn_is_black() in contrib/lips4/gdevlprn.c could result in a DoS
CVE-2020-16287 ghostscript: buffer overflow in lprn_is_black() in contrib/lips4/gdevlprn.c could result in a DoS
A buffer overflow vulnerability in lprn_is_black() in contrib/lips4/gdevlprn.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.
References:
https://bugs.ghostscript.com/show_bug.cgi?id=701785
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=450da26a76286a8342ec0864b3d113856709f8f6
Discussion:
Created ghostscript tracking bugs for this issue:
Affects: fedora-all [bug 1870243]
---
Flaw summary:
In the routine lprn_is_black() of /contrib/lips4/gdevlprn.c, there is a potential incorrect calculation of offset in a for loop which can lead to an out-of-bounds read if a crafted PDF
https://bugs.ghostscript.com/show_bug.cgi?id=701785https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=450da26a76286a8342ec0864b3d113856709f8f6https://lists.debian.org/debian-lts-announce/2020/08/msg00032.htmlhttps://security.gentoo.org/glsa/202008-20https://usn.ubuntu.com/4469-1/https://www.debian.org/security/2020/dsa-4748https://bugs.ghostscript.com/show_bug.cgi?id=701785https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=450da26a76286a8342ec0864b3d113856709f8f6https://lists.debian.org/debian-lts-announce/2020/08/msg00032.htmlhttps://security.gentoo.org/glsa/202008-20https://usn.ubuntu.com/4469-1/https://www.debian.org/security/2020/dsa-4748
2020-08-13
Published