CVE-2018-16541
published 2018-09-05CVE-2018-16541: In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the…
PriorityP420medium5.5CVSS 3.0
AVLACLPRNUIRSUCNINAH
EPSS
1.41%
69.7th percentile
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | < 9.24 | 9.24 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-3 | 9.22~dfsg-3 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-3 | 9.22~dfsg-3 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-3 | 9.22~dfsg-3 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-3 | 9.22~dfsg-3 |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | ghostscript | < ghostscript 9.22~dfsg-3 (bookworm) | ghostscript 9.22~dfsg-3 (bookworm) |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.05.5MEDIUMCVSS:3.0/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.
Ubuntu
Ghostscript vulnerabilities
vendor_ubuntu·2018-09-19
CVE-2018-11645 Ghostscript vulnerabilities
Title: Ghostscript vulnerabilities
Summary: Several security issues were fixed in Ghostscript.
Tavis Ormandy discovered multiple security issues in Ghostscript. If a user
or automated system were tricked into processing a specially crafted file,
a remote attacker could possibly use these issues to access arbitrary
files, execute arbitrary code, or cause a denial of service.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ghostscript: Incorrect free logic in pagedevice replacement (699664)
vendor_redhat·2018-09-06·CVSS 5.5
CVE-2018-16541 [MEDIUM] CWE-416 ghostscript: Incorrect free logic in pagedevice replacement (699664)
ghostscript: Incorrect free logic in pagedevice replacement (699664)
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.
It was discovered that the ghostscript device cleanup did not properly handle devices replaced with a null device. An attacker could possibly exploit this to bypass the -dSAFER protection and crash ghostscript or, possibly, execute arbitrary code in the ghostscript context via a specially crafted PostScript document.
Statement: This issue affects the versions of ghostscript as shipped with Red Hat Enterprise Linux 5, 6, and 7.
Red Hat Enterprise Linux 5 is now in Extended Life Phase of the support and maintenance life cycle. This issue is not currently
Debian
CVE-2018-16541: ghostscript - In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript ...
vendor_debian·2018·CVSS 5.5
CVE-2018-16541 [MEDIUM] CVE-2018-16541: ghostscript - In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript ...
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.
Scope: local
bookworm: resolved (fixed in 9.22~dfsg-3)
bullseye: resolved (fixed in 9.22~dfsg-3)
forky: resolved (fixed in 9.22~dfsg-3)
sid: resolved (fixed in 9.22~dfsg-3)
trixie: resolved (fixed in 9.22~dfsg-3)
GHSA
GHSA-m76g-5q68-xv2c: In Artifex Ghostscript before 9
ghsa_unreviewed·2022-05-14
CVE-2018-16541 [MEDIUM] CWE-416 GHSA-m76g-5q68-xv2c: In Artifex Ghostscript before 9
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.
OSV
CVE-2018-16541: In Artifex Ghostscript before 9
osv·2018-09-05·CVSS 5.5
CVE-2018-16541 [MEDIUM] CVE-2018-16541: In Artifex Ghostscript before 9
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16541 ghostscript: incorrect free logic in pagedevice replacement (699664) [fedora-all]
bugzilla·2018-09-06·CVSS 5.5
CVE-2018-16541 [MEDIUM] CVE-2018-16541 ghostscript: incorrect free logic in pagedevice replacement (699664) [fedora-all]
CVE-2018-16541 ghostscript: incorrect free logic in pagedevice replacement (699664) [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
fedpkg commit message.
NOTE: this issue affects multiple
Bugzilla
CVE-2018-16541 ghostscript: Incorrect free logic in pagedevice replacement (699664)
bugzilla·2018-09-06·CVSS 5.5
CVE-2018-16541 [MEDIUM] CVE-2018-16541 ghostscript: Incorrect free logic in pagedevice replacement (699664)
CVE-2018-16541 ghostscript: Incorrect free logic in pagedevice replacement (699664)
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.
External Reference:
https://www.kb.cert.org/vuls/id/332928
https://www.artifex.com/news/ghostscript-security-resolved/
Upstream Bug:
https://bugs.ghostscript.com/show_bug.cgi?id=699664
Upstream Patch:
http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=241d9111
Discussion:
Created ghostscript tracking bugs for this issue:
Affects: fedora-all [bug 1625847]
---
Acknowledgments:
Name: Tavis Ormandy (Google Project Zero)
---
Statement:
This issue affects the versions of ghostscript as shipped with Red Hat Enterprise Linux 5,
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=241d91112771a6104de10b3948c3f350d6690c1dhttps://access.redhat.com/errata/RHSA-2018:3834https://bugs.ghostscript.com/show_bug.cgi?id=699664https://lists.debian.org/debian-lts-announce/2018/09/msg00015.htmlhttps://security.gentoo.org/glsa/201811-12https://usn.ubuntu.com/3768-1/https://www.artifex.com/news/ghostscript-security-resolved/https://www.debian.org/security/2018/dsa-4288http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=241d91112771a6104de10b3948c3f350d6690c1dhttps://access.redhat.com/errata/RHSA-2018:3834https://bugs.ghostscript.com/show_bug.cgi?id=699664https://lists.debian.org/debian-lts-announce/2018/09/msg00015.htmlhttps://security.gentoo.org/glsa/201811-12https://usn.ubuntu.com/3768-1/https://www.artifex.com/news/ghostscript-security-resolved/https://www.debian.org/security/2018/dsa-4288
2018-09-05
Published