CVE-2018-15910
Description
CVE-2018-15910 is a type confusion in Ghostscript's LockDistillerParams parameter that allows arbitrary code execution via crafted PostScript files.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
CVE-2018-15910 is a type confusion in Ghostscript's LockDistillerParams parameter that allows arbitrary code execution via crafted PostScript files.
Vulnerability
CVE-2018-15910 is a type confusion vulnerability in Artifex Ghostscript versions before 9.24. The flaw resides in the LockDistillerParams parameter, which can be exploited by supplying a specially crafted PostScript file. When parsed, the type confusion leads to memory corruption, enabling an attacker to crash the interpreter or execute arbitrary code. The -dSAFER sandbox, intended to restrict unsafe operations, is bypassed in this and related vulnerabilities [2][3].
Exploitation
An attacker requires the ability to supply a crafted PostScript file to Ghostscript or any application that leverages it (e.g., ImageMagick, evince, Okular, Nautilus) [2]. No authentication is needed; exploitation can be triggered remotely, for example by convincing a user to open a malicious file or by embedding the PostScript in a PDF. The type confusion occurs when the LockDistillerParams operator is invoked with a non-dictionary operand. Public exploit code is available [2].
Impact
Successful exploitation allows a remote, unauthenticated attacker to execute arbitrary commands with the privileges of the Ghostscript process. This compromises confidentiality, integrity, and availability (CIA), potentially leading to full system compromise if the process runs with elevated privileges [2]. The CVSS base score is 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P) [2].
Mitigation
The vulnerability is fixed in Ghostscript version 9.24, released in 2018-08-27. Red Hat Enterprise Linux 7 received a patched package (ghostscript-9.07-29.el7_5.2) via RHSA-2018:2918 [1]. Gentoo users should upgrade to >=app-text/ghostscript-gpl-9.26 [4]. There is no known workaround for unpatched versions [4].
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
22- Range: <9.24
- osv-coords21 versionspkg:rpm/opensuse/ghostscript&distro=openSUSE%20Tumbleweedpkg:rpm/suse/ghostscript&distro=SUSE%20Enterprise%20Storage%204pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3pkg:rpm/suse/ghostscript&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/ghostscript-library&distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3pkg:rpm/suse/ghostscript-library&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-LTSSpkg:rpm/suse/ghostscript-library&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-TERADATApkg:rpm/suse/ghostscript-library&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/ghostscript-library&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/ghostscript-library&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4pkg:rpm/suse/libspectre&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015
< 9.54.0-2.2+ 20 more
- (no CPE)range: < 9.54.0-2.2
- (no CPE)range: < 9.25-23.13.1
- (no CPE)range: < 9.25-23.13.1
- (no CPE)range: < 9.25-3.6.1
- (no CPE)range: < 9.25-23.13.1
- (no CPE)range: < 9.25-23.13.1
- (no CPE)range: < 9.25-23.13.1
- (no CPE)range: < 9.25-23.13.1
- (no CPE)range: < 9.25-23.13.1
- (no CPE)range: < 9.25-23.13.1
- (no CPE)range: < 9.25-23.13.1
- (no CPE)range: < 9.25-23.13.1
- (no CPE)range: < 9.25-23.13.1
- (no CPE)range: < 9.25-23.13.1
- (no CPE)range: < 8.62-32.47.13.1
- (no CPE)range: < 8.62-32.47.13.1
- (no CPE)range: < 8.62-32.47.13.1
- (no CPE)range: < 8.62-32.47.13.1
- (no CPE)range: < 8.62-32.47.13.1
- (no CPE)range: < 8.62-32.47.13.1
- (no CPE)range: < 0.2.8-3.2.1
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
11- access.redhat.com/errata/RHSA-2018:2918mitrevendor-advisoryx_refsource_REDHAT
- security.gentoo.org/glsa/201811-12mitrevendor-advisoryx_refsource_GENTOO
- usn.ubuntu.com/3768-1/mitrevendor-advisoryx_refsource_UBUNTU
- www.debian.org/security/2018/dsa-4288mitrevendor-advisoryx_refsource_DEBIAN
- git.ghostscript.commitrex_refsource_MISC
- www.securityfocus.com/bid/105122mitrevdb-entryx_refsource_BID
- bugs.ghostscript.com/show_bug.cgimitrex_refsource_MISC
- kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44101mitrex_refsource_CONFIRM
- lists.debian.org/debian-lts-announce/2018/09/msg00015.htmlmitremailing-listx_refsource_MLIST
- support.f5.com/csp/article/K22141757mitrex_refsource_CONFIRM
- www.kb.cert.org/vuls/id/332928mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.