
CVE catalog
CVE-2018-16585
ghostscript: CVE-2018-16585
- Severity
- Low · CVSS 3.3
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.72% · Oct 25, 2026
An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkeys PostScript command is accepted even though it is not intended for use during document processing (e.g., after the startup phase). This leads to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact. Note: A reputable source believes that the CVE is potentially a duplicate of CVE-2018-15910 as explained in Red Hat bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1626193)
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ghostscript | sid | 10.08.0~dfsg-2 | fixed |
| Debian | ghostscript | forky | 10.08.0~dfsg-2 | fixed |
| Debian | ghostscript | trixie | 10.05.1~dfsg-1+deb13u1 | fixed |
| Debian | ghostscript | trixie-security | 10.05.1~dfsg-1+deb13u3 | fixed |
| Debian | ghostscript | bookworm | 10.0.0~dfsg-11+deb12u8 | fixed |
| Debian | ghostscript | bookworm-security | 10.0.0~dfsg-11+deb12u8 | fixed |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu3 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu5 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu6 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu7 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu8 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu9 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.1 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.2 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.3 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.4 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.5 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.6 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.7 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.9 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.10 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.12 | vulnerable |
| Ubuntu | ghostscript | 14.04 | 9.10~dfsg-0ubuntu10.13 | fixed |
| Ubuntu | ghostscript | 16.04 | 9.16~dfsg~0-0ubuntu3 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.16~dfsg~0-0ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu1 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu2.2 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu2.3 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu2.4 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu2.6 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu2.7 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu2.8 | vulnerable |
| Ubuntu | ghostscript | 16.04 | 9.18~dfsg~0-0ubuntu2.9 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ghostscript | source | sid | 9.25~dfsg-1 | not yet assigned | Not reported | [908305] |
| Debian | ghostscript | source | forky | 9.25~dfsg-1 | not yet assigned | Not reported | [908305] |
| Debian | ghostscript | source | trixie | 9.25~dfsg-1 | not yet assigned | Not reported | [908305] |
| Debian | ghostscript | source | bookworm | 9.25~dfsg-1 | not yet assigned | Not reported | [908305] |
| Ubuntu | ghostscript | deb | 14.04 | 9.10~dfsg-0ubuntu10.13 | Not reported | UBUNTU-CVE-2018-16585 | Not reported |
| Ubuntu | ghostscript | deb | 16.04 | 9.18~dfsg~0-0ubuntu2.9 | Not reported | UBUNTU-CVE-2018-16585 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [ghostscript]Unknown
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [ghostscript-doc]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [ghostscript-x]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs10]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs10-common]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs9-common]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs-common]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs-dev]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
[Debian 13 (Trixie)]
- [ghostscript]Unknown
Details (6)
10.05.1~dfsg-1+deb13u1· amd64 · trixieFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixieFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
- [ghostscript-doc]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
- [libgs10]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· amd64 · trixieFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixieFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
- [libgs10-common]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
- [libgs-common]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
- [libgs-dev]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· amd64 · trixieFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixieFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
9.25~dfsg-1dsa · ghostscript · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2018_2975-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-16585]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-16585]
- [https://security-tracker.debian.org/tracker/CVE-2018-16585]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]