CVE-2020-16305
published 2020-08-13CVE-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…
PriorityP422medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
2.25%
80.9th percentile
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.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | < 9.51 | 9.51 |
| artifex | ghostscript | — | — |
| 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) |
| debian | ghostscript | — | — |
| redhat | codeready_linux_builder | — | — |
| redhat | codeready_linux_builder_for_arm64 | — | — |
| redhat | codeready_linux_builder_for_ibm_z_systems | — | — |
| redhat | codeready_linux_builder_for_power_little_endian | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux_for_arm_64 | — | — |
| redhat | enterprise_linux_for_ibm_z_systems | — | — |
| redhat | enterprise_linux_for_power_little_endian | — | — |
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-jgj3-64jr-4g3x: A flaw was found in ghostscript
ghsa_unreviewed·2023-08-23·CVSS 5.5
CVE-2023-4042 [MEDIUM] CWE-125 GHSA-jgj3-64jr-4g3x: A flaw was found in ghostscript
A flaw was found in ghostscript. The fix for CVE-2020-16305 in ghostscript was not included in RHSA-2021:1852-06 advisory as it was claimed to be. This issue only affects the ghostscript package as shipped with Red Hat Enterprise Linux 8.
GHSA
GHSA-qg85-mf6m-qq9x: A buffer overflow vulnerability in pcx_write_rle() in contrib/japanese/gdev10v
ghsa_unreviewed·2022-05-24
CVE-2020-16305 [MEDIUM] CWE-787 GHSA-qg85-mf6m-qq9x: A buffer overflow vulnerability in pcx_write_rle() in contrib/japanese/gdev10v
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.
OSV
CVE-2020-16305: A buffer overflow vulnerability in pcx_write_rle() in contrib/japanese/gdev10v
osv·2020-08-13·CVSS 5.5
CVE-2020-16305 [MEDIUM] CVE-2020-16305: A buffer overflow vulnerability in pcx_write_rle() in contrib/japanese/gdev10v
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.
Red Hat
ghostscript: Incomplete fix for CVE-2020-16305
vendor_redhat·2023-08-23·CVSS 5.5
CVE-2023-4042 [MEDIUM] CWE-125 ghostscript: Incomplete fix for CVE-2020-16305
ghostscript: Incomplete fix for CVE-2020-16305
A flaw was found in ghostscript. The fix for CVE-2020-16305 in ghostscript was not included in RHSA-2021:1852-06 advisory as it was claimed to be. This issue only affects the ghostscript package as shipped with Red Hat Enterprise Linux 8.
A flaw was found in ghostscript. The fix for CVE-2020-16305 in ghostscript was not included in RHSA-2021:1852-06 advisory as it was claimed to be. This issue only affects the ghostscript package as shipped with Red Hat Enterprise Linux 8.
Statement: CVE-2020-16305 affected Red Hat Enterprise Linux 6, 7, and 8, but was only intended to be fixed in Red Hat Enterprise Linux 8. (https://access.redhat.com/errata/RHSA-2021:1852 (Red Hat Enterprise Linux 8.4)
That errata provided updates for ghostscript packages,
Debian
CVE-2023-4042: ghostscript - A flaw was found in ghostscript. The fix for CVE-2020-16305 in ghostscript was n...
vendor_debian·2023·CVSS 5.5
CVE-2023-4042 [MEDIUM] CVE-2023-4042: ghostscript - A flaw was found in ghostscript. The fix for CVE-2020-16305 in ghostscript was n...
A flaw was found in ghostscript. The fix for CVE-2020-16305 in ghostscript was not included in RHSA-2021:1852-06 advisory as it was claimed to be. This issue only affects the ghostscript package as shipped with Red Hat Enterprise Linux 8.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
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 pcx_write_rle() in contrib/japanese/gdev10v.c could result in a DoS
vendor_redhat·2020-08-13·CVSS 5.5
CVE-2020-16305 [MEDIUM] CWE-125 ghostscript: buffer overflow in pcx_write_rle() in contrib/japanese/gdev10v.c could result in a DoS
ghostscript: buffer overflow in pcx_write_rle() in contrib/japanese/gdev10v.c could result in a DoS
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.
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
Package: ghostscript (Red Hat Enterprise Linux 7) - Fix deferred
Debian
CVE-2020-16305: ghostscript - A buffer overflow vulnerability in pcx_write_rle() in contrib/japanese/gdev10v.c...
vendor_debian·2020·CVSS 5.5
CVE-2020-16305 [MEDIUM] CVE-2020-16305: ghostscript - A buffer overflow vulnerability in pcx_write_rle() in contrib/japanese/gdev10v.c...
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.
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-16305 ghostscript: buffer overflow in pcx_write_rle() in contrib/japanese/gdev10v.c could result in a DoS via a crafted PDF file [fedora-all]
bugzilla·2020-08-19·CVSS 5.5
CVE-2020-16305 [MEDIUM] CVE-2020-16305 ghostscript: buffer overflow in pcx_write_rle() in contrib/japanese/gdev10v.c could result in a DoS via a crafted PDF file [fedora-all]
CVE-2020-16305 ghostscript: buffer overflow in pcx_write_rle() in contrib/japanese/gdev10v.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
fed
Bugzilla
CVE-2020-16305 ghostscript: buffer overflow in pcx_write_rle() in contrib/japanese/gdev10v.c could result in a DoS
bugzilla·2020-08-19·CVSS 5.5
CVE-2020-16305 [MEDIUM] CVE-2020-16305 ghostscript: buffer overflow in pcx_write_rle() in contrib/japanese/gdev10v.c could result in a DoS
CVE-2020-16305 ghostscript: buffer overflow in pcx_write_rle() in contrib/japanese/gdev10v.c could result in a DoS
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.
References:
https://bugs.ghostscript.com/show_bug.cgi?id=701819
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2793769ff107d8d22dadd30c6e68cd781b569550
Discussion:
Created ghostscript tracking bugs for this issue:
Affects: fedora-all [bug 1870260]
---
Flaw summary:
Incorrect if statement conditional order in pcx_write_rle() could allow the dereference of an out-of-bounds pointer `from`. This is possible because there is a while loop in whi
https://bugs.ghostscript.com/show_bug.cgi?id=701819https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=2793769ff107d8d22dadd30c6e68cd781b569550https://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=701819https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=2793769ff107d8d22dadd30c6e68cd781b569550https://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