
CVE catalog
CVE-2018-16539
ghostscript: CVE-2018-16539
- Severity
- Medium · CVSS 5.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.44% · Oct 25, 2026
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect access checking in temp file handling to disclose contents of files on the system otherwise not readable.
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 |
| Ubuntu | ghostscript | 18.04 | 9.21~dfsg+1-0ubuntu3 | vulnerable |
| Ubuntu | ghostscript | 18.04 | 9.22~dfsg+1-0ubuntu1 | vulnerable |
| Ubuntu | ghostscript | 18.04 | 9.22~dfsg+1-0ubuntu1.1 | vulnerable |
| Ubuntu | ghostscript | 18.04 | 9.22~dfsg+1-0ubuntu1.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ghostscript | source | sid | 9.22~dfsg-3 | not yet assigned | Not reported | [907332] |
| Debian | ghostscript | source | forky | 9.22~dfsg-3 | not yet assigned | Not reported | [907332] |
| Debian | ghostscript | source | trixie | 9.22~dfsg-3 | not yet assigned | Not reported | [907332] |
| Debian | ghostscript | source | bookworm | 9.22~dfsg-3 | not yet assigned | Not reported | [907332] |
| Ubuntu | ghostscript | deb | 14.04 | 9.10~dfsg-0ubuntu10.13 | Not reported | UBUNTU-CVE-2018-16539 | Not reported |
| Ubuntu | ghostscript | deb | 16.04 | 9.18~dfsg~0-0ubuntu2.9 | Not reported | UBUNTU-CVE-2018-16539 | Not reported |
| Ubuntu | ghostscript | deb | 18.04 | 9.22~dfsg+1-0ubuntu1.2 | Not reported | UBUNTU-CVE-2018-16539 | 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.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · 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.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · 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.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
- [libgs10]Unknown
Source package: [ghostscript]
Details (4)
10.0.0~dfsg-11+deb12u8· amd64 · bookwormFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · 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.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · 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.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · 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.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookwormFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· all · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · 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.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookwormFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· amd64 · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
10.0.0~dfsg-11+deb12u8· arm64 · bookworm-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · bookworm; dsa · ghostscript · debian · 12
[Debian 13 (Trixie)]
- [ghostscript]Unknown
Details (6)
10.05.1~dfsg-1+deb13u1· amd64 · trixieFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixieFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
- [ghostscript-doc]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
- [libgs10]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· amd64 · trixieFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixieFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
- [libgs10-common]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
- [libgs-common]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixieFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
- [libgs-dev]Unknown
Source package: [ghostscript]
Details (6)
10.05.1~dfsg-1+deb13u1· amd64 · trixieFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixieFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
10.05.1~dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
9.22~dfsg-3dsa · ghostscript · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2018:3650]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2018_3650.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-16539]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-16539]
- [https://security-tracker.debian.org/tracker/CVE-2018-16539]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]