
CVE catalog
CVE-2023-38559
ghostscript: CVE-2023-38559
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.43% · Oct 25, 2026
A buffer overflow flaw was found in base/gdevdevn.c:1973 in devn_pcx_write_rle() in ghostscript. This issue may allow a local attacker to cause a denial of service via outputting a crafted PDF file for a DEVN device with gs. ghostscript: Out-of-bound read in base/gdevdevn.c:1973 in devn_pcx_write_rle could result in DoS The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
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 | pro | 9.21~dfsg+1-0ubuntu3 | vulnerable |
| Ubuntu | ghostscript | pro | 9.22~dfsg+1-0ubuntu1 | vulnerable |
| Ubuntu | ghostscript | pro | 9.22~dfsg+1-0ubuntu1.1 | vulnerable |
| Ubuntu | ghostscript | pro | 9.22~dfsg+1-0ubuntu1.2 | vulnerable |
| Ubuntu | ghostscript | pro | 9.25~dfsg+1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | ghostscript | pro | 9.25~dfsg+1-0ubuntu0.18.04.2 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.3 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.4 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.5 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.6 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.7 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.8 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.9 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.10 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.11 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.12 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.13 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.14 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.15 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.16 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.17 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.18 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.18+esm1 | fixed |
| Ubuntu | ghostscript | 20.04 | 9.27~dfsg+0-0ubuntu3 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.27~dfsg+0-0ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu1 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu3 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.1 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.2 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.3 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.4 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.5 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.6 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.7 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.8 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.9 | fixed |
| Ubuntu | ghostscript | 22.04 | 9.54.0~dfsg1-0ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.1 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.2 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.3 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.4 | fixed |
| Ubuntu | ghostscript | pro | 9.21~dfsg+1-0ubuntu3 | vulnerable |
| Ubuntu | ghostscript | pro | 9.22~dfsg+1-0ubuntu1 | vulnerable |
| Ubuntu | ghostscript | pro | 9.22~dfsg+1-0ubuntu1.1 | vulnerable |
| Ubuntu | ghostscript | pro | 9.22~dfsg+1-0ubuntu1.2 | vulnerable |
| Ubuntu | ghostscript | pro | 9.25~dfsg+1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | ghostscript | pro | 9.25~dfsg+1-0ubuntu0.18.04.2 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.3 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.4 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.5 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.6 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.7 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.8 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.9 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.10 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.11 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.12 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.13 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.14 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.15 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.16 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.17 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.18 | vulnerable |
| Ubuntu | ghostscript | pro | 9.26~dfsg+0-0ubuntu0.18.04.18+esm1 | fixed |
| Ubuntu | ghostscript | 20.04 | 9.27~dfsg+0-0ubuntu3 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.27~dfsg+0-0ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu1 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu3 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.1 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.2 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.3 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.4 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.5 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.6 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.7 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.8 | vulnerable |
| Ubuntu | ghostscript | 20.04 | 9.50~dfsg-5ubuntu4.9 | fixed |
| Ubuntu | ghostscript | 22.04 | 9.54.0~dfsg1-0ubuntu2 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu4 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.1 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.2 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.3 | vulnerable |
| Ubuntu | ghostscript | 22.04 | 9.55.0~dfsg1-0ubuntu5.4 | fixed |
| Suse | ghostscript | linux enterprise module for basesystem 15 sp4 | 9.52-150000.170.1 | fixed |
| Suse | ghostscript | linux enterprise module for basesystem 15 sp5 | 9.52-150000.170.1 | fixed |
| Suse | ghostscript | manager proxy 4.2 | 9.52-150000.170.1 | fixed |
| Suse | ghostscript | manager server 4.2 | 9.52-150000.170.1 | fixed |
| Opensuse | ghostscript | leap 15.4 | 9.52-150000.170.1 | fixed |
| Opensuse | ghostscript | leap 15.5 | 9.52-150000.170.1 | fixed |
| Suse | ghostscript | linux enterprise software development kit 12 sp5 | 9.52-23.57.1 | fixed |
| Suse | ghostscript | linux enterprise server 12 sp5 | 9.52-23.57.1 | fixed |
| Suse | ghostscript | linux enterprise server for sap applications 12 sp5 | 9.52-23.57.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ghostscript | source | sid | 10.02.0~dfsg-1 | not yet assigned | Not reported | [1043033] |
| Debian | ghostscript | source | forky | 10.02.0~dfsg-1 | not yet assigned | Not reported | [1043033] |
| Debian | ghostscript | source | trixie | 10.02.0~dfsg-1 | not yet assigned | Not reported | [1043033] |
| Debian | ghostscript | source | bookworm | 10.0.0~dfsg-11+deb12u2 | not yet assigned | Not reported | [1043033] |
| Ubuntu | ghostscript | deb | pro | 9.26~dfsg+0-0ubuntu0.18.04.18+esm1 | Not reported | USN-6297-1 | Not reported |
| Ubuntu | ghostscript | deb | 20.04 | 9.50~dfsg-5ubuntu4.9 | Not reported | USN-6297-1 | Not reported |
| Ubuntu | ghostscript | deb | 22.04 | 9.55.0~dfsg1-0ubuntu5.4 | Not reported | USN-6297-1 | Not reported |
| Ubuntu | ghostscript | deb | pro | 9.26~dfsg+0-0ubuntu0.18.04.18+esm1 | Not reported | UBUNTU-CVE-2023-38559 | Not reported |
| Ubuntu | ghostscript | deb | 20.04 | 9.50~dfsg-5ubuntu4.9 | Not reported | UBUNTU-CVE-2023-38559 | Not reported |
| Ubuntu | ghostscript | deb | 22.04 | 9.55.0~dfsg1-0ubuntu5.4 | Not reported | UBUNTU-CVE-2023-38559 | Not reported |
| Suse | ghostscript | rpm | linux enterprise module for basesystem 15 sp4 | 9.52-150000.170.1 | Not reported | SUSE-SU-2023:3438-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise module for basesystem 15 sp5 | 9.52-150000.170.1 | Not reported | SUSE-SU-2023:3438-1 | Not reported |
| Suse | ghostscript | rpm | manager proxy 4.2 | 9.52-150000.170.1 | Not reported | SUSE-SU-2023:3438-1 | Not reported |
| Suse | ghostscript | rpm | manager server 4.2 | 9.52-150000.170.1 | Not reported | SUSE-SU-2023:3438-1 | Not reported |
| Opensuse | ghostscript | rpm | leap 15.4 | 9.52-150000.170.1 | Not reported | SUSE-SU-2023:3438-1 | Not reported |
| Opensuse | ghostscript | rpm | leap 15.5 | 9.52-150000.170.1 | Not reported | SUSE-SU-2023:3438-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise software development kit 12 sp5 | 9.52-23.57.1 | Not reported | SUSE-SU-2023:3439-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server 12 sp5 | 9.52-23.57.1 | Not reported | SUSE-SU-2023:3439-1 | Not reported |
| Suse | ghostscript | rpm | linux enterprise server for sap applications 12 sp5 | 9.52-23.57.1 | Not reported | SUSE-SU-2023:3439-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://access.redhat.com/errata/RHSA-2023:6544]
- [https://cert-portal.siemens.com/productcert/csaf/ssa-806742.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_7053.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-38559]
- [https://osv.dev/vulnerability/DLA-3519-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:3438-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:3439-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-38559]
- [https://osv.dev/vulnerability/USN-6297-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-38559]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1968.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]