# CVE-2023-38559: libgs: The Ghostscript suite contains utilities for rendering PostScript and PDF documents

CVE-2023-38559 is fixed in 17 products on 1 platform, first by ghostscript 9.26~dfsg+0-0ubuntu0.18.04.18+esm1, released August 1, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-38559
- Priority: Routine
- CVSS: 5.5 (Moderate)
- EPSS: 0.0044
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 1, 2023

## Description

The Ghostscript suite contains utilities for rendering PostScript and PDF documents. Ghostscript translates PostScript code to common bitmap formats so that the code can be displayed or printed.  Security Fix(es):  * ghostscript: buffer overflow in base/sbcp.c leading to data corruption (CVE-2023-28879)  * ghostscript: Out-of-bound read in base/gdevdevn.c:1973 in devn_pcx_write_rle could result in DoS (CVE-2023-38559)  * ghostscript: Incomplete fix for CVE-2020-16305 (CVE-2023-4042)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.9 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ghostscript Debian 12.15 (bookworm) | 10.0.0~dfsg-11+deb12u2 | [DEBIAN-CVE-2023-38559](https://patchblox.com/security/data/fix/linux/debian-cve-2023-38559.md) | Aug 1, 2023 |
| Linux | ghostscript Debian 13.5 (trixie) | 10.02.0~dfsg-1 | [DEBIAN-CVE-2023-38559](https://patchblox.com/security/data/fix/linux/debian-cve-2023-38559.md) | Aug 1, 2023 |
| Linux | ghostscript Debian 14 | 10.02.0~dfsg-1 | [DEBIAN-CVE-2023-38559](https://patchblox.com/security/data/fix/linux/debian-cve-2023-38559.md) | Aug 1, 2023 |
| Linux | ghostscript RHEL 8 | 0:9.27-11.el8 | [RHSA-2023:7053](https://patchblox.com/security/data/fix/linux/rhsa-2023-7053.md) | Nov 14, 2023 |
| Linux | ghostscript RHEL 9 | 0:9.54.0-13.el9 | [RHSA-2023:6544](https://patchblox.com/security/data/fix/linux/rhsa-2023-6544.md) | Nov 7, 2023 |
| Linux | ghostscript Ubuntu 18.04.6 LTS (bionic) | 9.26~dfsg+0-0ubuntu0.18.04.18+esm1 | [ghostscript 9.26~dfsg+0-0ubuntu0.18.04.18+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ghostscript-9.26-dfsg-0-0ubuntu0.18.04.18-esm1.md) | Aug 1, 2023 |
| Linux | ghostscript Ubuntu 20.04 LTS (focal) | 9.50~dfsg-5ubuntu4.9 | [ghostscript 9.50~dfsg-5ubuntu4.9](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ghostscript-9.50-dfsg-5ubuntu4.9.md) | Aug 1, 2023 |
| Linux | ghostscript Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.4 | [ghostscript 9.55.0~dfsg1-0ubuntu5.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ghostscript-9.55.0-dfsg1-0ubuntu5.4.md) | Aug 1, 2023 |
| Linux | ghostscript almalinux 8 | 9.27-11.el8 | [ALSA-2023:7053](https://patchblox.com/security/data/fix/linux/alsa-2023-7053.md) | Nov 14, 2023 |
| Linux | ghostscript almalinux 9 | 9.54.0-13.el9 | [ALSA-2023:6544](https://patchblox.com/security/data/fix/linux/alsa-2023-6544.md) | Nov 7, 2023 |
| Linux | ghostscript amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | ghostscript ol 8 | 0:9.27-11.el8 | [ELSA-2023-7053](https://patchblox.com/security/data/fix/linux/elsa-2023-7053.md) | Nov 17, 2023 |
| Linux | ghostscript ol 9 | 0:9.54.0-13.el9 | [ELSA-2023-6544](https://patchblox.com/security/data/fix/linux/elsa-2023-6544.md) | Nov 11, 2023 |
| Linux | ghostscript-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | ghostscript-debugsource amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | ghostscript-doc RHEL 8 | 0:9.27-11.el8 | [RHSA-2023:7053](https://patchblox.com/security/data/fix/linux/rhsa-2023-7053.md) | Nov 14, 2023 |
| Linux | ghostscript-doc RHEL 9 | 0:9.54.0-13.el9 | [RHSA-2023:6544](https://patchblox.com/security/data/fix/linux/rhsa-2023-6544.md) | Nov 7, 2023 |
| Linux | ghostscript-doc almalinux 8 | 9.27-11.el8 | [ALSA-2023:7053](https://patchblox.com/security/data/fix/linux/alsa-2023-7053.md) | Nov 14, 2023 |
| Linux | ghostscript-doc almalinux 9 | 9.54.0-13.el9 | [ALSA-2023:6544](https://patchblox.com/security/data/fix/linux/alsa-2023-6544.md) | Nov 7, 2023 |
| Linux | ghostscript-doc amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | ghostscript-doc ol 8 | 0:9.27-11.el8 | [ELSA-2023-7053](https://patchblox.com/security/data/fix/linux/elsa-2023-7053.md) | Nov 17, 2023 |
| Linux | ghostscript-doc ol 9 | 0:9.54.0-13.el9 | [ELSA-2023-6544](https://patchblox.com/security/data/fix/linux/elsa-2023-6544.md) | Nov 11, 2023 |
| Linux | ghostscript-gtk amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | ghostscript-gtk-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | ghostscript-tools-dvipdf RHEL 8 | 0:9.27-11.el8 | [RHSA-2023:7053](https://patchblox.com/security/data/fix/linux/rhsa-2023-7053.md) | Nov 14, 2023 |
| Linux | ghostscript-tools-dvipdf RHEL 9 | 0:9.54.0-13.el9 | [RHSA-2023:6544](https://patchblox.com/security/data/fix/linux/rhsa-2023-6544.md) | Nov 7, 2023 |
| Linux | ghostscript-tools-dvipdf almalinux 8 | 9.27-11.el8 | [ALSA-2023:7053](https://patchblox.com/security/data/fix/linux/alsa-2023-7053.md) | Nov 14, 2023 |
| Linux | ghostscript-tools-dvipdf almalinux 9 | 9.54.0-13.el9 | [ALSA-2023:6544](https://patchblox.com/security/data/fix/linux/alsa-2023-6544.md) | Nov 7, 2023 |
| Linux | ghostscript-tools-dvipdf amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | ghostscript-tools-dvipdf ol 8 | 0:9.27-11.el8 | [ELSA-2023-7053](https://patchblox.com/security/data/fix/linux/elsa-2023-7053.md) | Nov 17, 2023 |
| Linux | ghostscript-tools-dvipdf ol 9 | 0:9.54.0-13.el9 | [ELSA-2023-6544](https://patchblox.com/security/data/fix/linux/elsa-2023-6544.md) | Nov 11, 2023 |
| Linux | ghostscript-tools-fonts RHEL 8 | 0:9.27-11.el8 | [RHSA-2023:7053](https://patchblox.com/security/data/fix/linux/rhsa-2023-7053.md) | Nov 14, 2023 |
| Linux | ghostscript-tools-fonts RHEL 9 | 0:9.54.0-13.el9 | [RHSA-2023:6544](https://patchblox.com/security/data/fix/linux/rhsa-2023-6544.md) | Nov 7, 2023 |
| Linux | ghostscript-tools-fonts almalinux 8 | 9.27-11.el8 | [ALSA-2023:7053](https://patchblox.com/security/data/fix/linux/alsa-2023-7053.md) | Nov 14, 2023 |
| Linux | ghostscript-tools-fonts almalinux 9 | 9.54.0-13.el9 | [ALSA-2023:6544](https://patchblox.com/security/data/fix/linux/alsa-2023-6544.md) | Nov 7, 2023 |
| Linux | ghostscript-tools-fonts amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | ghostscript-tools-fonts ol 8 | 0:9.27-11.el8 | [ELSA-2023-7053](https://patchblox.com/security/data/fix/linux/elsa-2023-7053.md) | Nov 17, 2023 |
| Linux | ghostscript-tools-fonts ol 9 | 0:9.54.0-13.el9 | [ELSA-2023-6544](https://patchblox.com/security/data/fix/linux/elsa-2023-6544.md) | Nov 11, 2023 |
| Linux | ghostscript-tools-printing RHEL 8 | 0:9.27-11.el8 | [RHSA-2023:7053](https://patchblox.com/security/data/fix/linux/rhsa-2023-7053.md) | Nov 14, 2023 |
| Linux | ghostscript-tools-printing RHEL 9 | 0:9.54.0-13.el9 | [RHSA-2023:6544](https://patchblox.com/security/data/fix/linux/rhsa-2023-6544.md) | Nov 7, 2023 |
| Linux | ghostscript-tools-printing almalinux 8 | 9.27-11.el8 | [ALSA-2023:7053](https://patchblox.com/security/data/fix/linux/alsa-2023-7053.md) | Nov 14, 2023 |
| Linux | ghostscript-tools-printing almalinux 9 | 9.54.0-13.el9 | [ALSA-2023:6544](https://patchblox.com/security/data/fix/linux/alsa-2023-6544.md) | Nov 7, 2023 |
| Linux | ghostscript-tools-printing amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | ghostscript-tools-printing ol 8 | 0:9.27-11.el8 | [ELSA-2023-7053](https://patchblox.com/security/data/fix/linux/elsa-2023-7053.md) | Nov 17, 2023 |
| Linux | ghostscript-tools-printing ol 9 | 0:9.54.0-13.el9 | [ELSA-2023-6544](https://patchblox.com/security/data/fix/linux/elsa-2023-6544.md) | Nov 11, 2023 |
| Linux | ghostscript-x Ubuntu 18.04.6 LTS (bionic) | 9.26~dfsg+0-0ubuntu0.18.04.18+esm1 | [ghostscript-x 9.26~dfsg+0-0ubuntu0.18.04.18+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ghostscript-x-9.26-dfsg-0-0ubuntu0.18.04.18-esm1.md) | Aug 1, 2023 |
| Linux | ghostscript-x Ubuntu 20.04 LTS (focal) | 9.50~dfsg-5ubuntu4.9 | [ghostscript-x 9.50~dfsg-5ubuntu4.9](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ghostscript-x-9.50-dfsg-5ubuntu4.9.md) | Aug 1, 2023 |
| Linux | ghostscript-x Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.4 | [ghostscript-x 9.55.0~dfsg1-0ubuntu5.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ghostscript-x-9.55.0-dfsg1-0ubuntu5.4.md) | Aug 1, 2023 |
| Linux | ghostscript-x11 RHEL 8 | 0:9.27-11.el8 | [RHSA-2023:7053](https://patchblox.com/security/data/fix/linux/rhsa-2023-7053.md) | Nov 14, 2023 |
| Linux | ghostscript-x11 RHEL 9 | 0:9.54.0-13.el9 | [RHSA-2023:6544](https://patchblox.com/security/data/fix/linux/rhsa-2023-6544.md) | Nov 7, 2023 |
| Linux | ghostscript-x11 almalinux 8 | 9.27-11.el8 | [ALSA-2023:7053](https://patchblox.com/security/data/fix/linux/alsa-2023-7053.md) | Nov 14, 2023 |
| Linux | ghostscript-x11 almalinux 9 | 9.54.0-13.el9 | [ALSA-2023:6544](https://patchblox.com/security/data/fix/linux/alsa-2023-6544.md) | Nov 7, 2023 |
| Linux | ghostscript-x11 amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | ghostscript-x11 ol 8 | 0:9.27-11.el8 | [ELSA-2023-7053](https://patchblox.com/security/data/fix/linux/elsa-2023-7053.md) | Nov 17, 2023 |
| Linux | ghostscript-x11 ol 9 | 0:9.54.0-13.el9 | [ELSA-2023-6544](https://patchblox.com/security/data/fix/linux/elsa-2023-6544.md) | Nov 11, 2023 |
| Linux | ghostscript-x11-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | libgs RHEL 8 | 0:9.27-11.el8 | [RHSA-2023:7053](https://patchblox.com/security/data/fix/linux/rhsa-2023-7053.md) | Nov 14, 2023 |
| Linux | libgs RHEL 9 | 0:9.54.0-13.el9 | [RHSA-2023:6544](https://patchblox.com/security/data/fix/linux/rhsa-2023-6544.md) | Nov 7, 2023 |
| Linux | libgs almalinux 8 | 9.27-11.el8 | [ALSA-2023:7053](https://patchblox.com/security/data/fix/linux/alsa-2023-7053.md) | Nov 14, 2023 |
| Linux | libgs almalinux 9 | 9.54.0-13.el9 | [ALSA-2023:6544](https://patchblox.com/security/data/fix/linux/alsa-2023-6544.md) | Nov 7, 2023 |
| Linux | libgs amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | libgs ol 8 | 0:9.27-11.el8 | [ELSA-2023-7053](https://patchblox.com/security/data/fix/linux/elsa-2023-7053.md) | Nov 17, 2023 |
| Linux | libgs ol 9 | 0:9.54.0-13.el9 | [ELSA-2023-6544](https://patchblox.com/security/data/fix/linux/elsa-2023-6544.md) | Nov 11, 2023 |
| Linux | libgs-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | libgs-devel RHEL 8 | 0:9.27-11.el8 | [RHSA-2023:7053](https://patchblox.com/security/data/fix/linux/rhsa-2023-7053.md) | Nov 14, 2023 |
| Linux | libgs-devel RHEL 9 | 0:9.54.0-13.el9 | [RHSA-2023:6544](https://patchblox.com/security/data/fix/linux/rhsa-2023-6544.md) | Nov 7, 2023 |
| Linux | libgs-devel almalinux 8 | 9.27-11.el8 | [ALSA-2023:7053](https://patchblox.com/security/data/fix/linux/alsa-2023-7053.md) | Nov 14, 2023 |
| Linux | libgs-devel almalinux 9 | 9.54.0-13.el9 | [ALSA-2023:6544](https://patchblox.com/security/data/fix/linux/alsa-2023-6544.md) | Nov 7, 2023 |
| Linux | libgs-devel amzn 2023 | 9.56.1-7.amzn2023.0.3 | [ALAS2023-2023-296](https://patchblox.com/security/data/fix/linux/alas2023-2023-296.md) | Aug 17, 2023 |
| Linux | libgs-devel ol 8 | 0:9.27-11.el8 | [ELSA-2023-7053](https://patchblox.com/security/data/fix/linux/elsa-2023-7053.md) | Nov 17, 2023 |
| Linux | libgs-devel ol 9 | 0:9.54.0-13.el9 | [ELSA-2023-6544](https://patchblox.com/security/data/fix/linux/elsa-2023-6544.md) | Nov 11, 2023 |
| Linux | libgs9 Ubuntu 18.04.6 LTS (bionic) | 9.26~dfsg+0-0ubuntu0.18.04.18+esm1 | [libgs9 9.26~dfsg+0-0ubuntu0.18.04.18+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libgs9-9.26-dfsg-0-0ubuntu0.18.04.18-esm1.md) | Aug 1, 2023 |
| Linux | libgs9 Ubuntu 20.04 LTS (focal) | 9.50~dfsg-5ubuntu4.9 | [libgs9 9.50~dfsg-5ubuntu4.9](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libgs9-9.50-dfsg-5ubuntu4.9.md) | Aug 1, 2023 |
| Linux | libgs9 Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.4 | [libgs9 9.55.0~dfsg1-0ubuntu5.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libgs9-9.55.0-dfsg1-0ubuntu5.4.md) | Aug 1, 2023 |
| Linux | libgs9-common Ubuntu 18.04.6 LTS (bionic) | 9.26~dfsg+0-0ubuntu0.18.04.18+esm1 | [libgs9-common 9.26~dfsg+0-0ubuntu0.18.04.18+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libgs9-common-9.26-dfsg-0-0ubuntu0.18.04.18-esm1.md) | Aug 1, 2023 |
| Linux | libgs9-common Ubuntu 20.04 LTS (focal) | 9.50~dfsg-5ubuntu4.9 | [libgs9-common 9.50~dfsg-5ubuntu4.9](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libgs9-common-9.50-dfsg-5ubuntu4.9.md) | Aug 1, 2023 |
| Linux | libgs9-common Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.4 | [libgs9-common 9.55.0~dfsg1-0ubuntu5.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libgs9-common-9.55.0-dfsg1-0ubuntu5.4.md) | Aug 1, 2023 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
