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

CVE-2023-46751 is fixed in 20 products on 1 platform, first by ghostscript 9.55.0~dfsg1-0ubuntu5.6, released December 6, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-46751
- Priority: High
- CVSS: 7.8 (Moderate)
- EPSS: 0.0153
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 6, 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: heap buffer over write vulnerability in GhostScript's lp8000_print_page() in gdevlp8k.c (CVE-2020-27792)  * ghostscript: dangling pointer in gdev_prn_open_printer_seekable() (CVE-2023-46751)  * ghostscript: Buffer Overflow in Ghostscript PDF XRef Stream Handling (CVE-2024-46952)  * ghostscript: Arbitrary Code Execution in Artifex Ghostscript Pattern Color Space (CVE-2024-46951)  * ghostscript: Directory Traversal in Ghostscript via Overlong UTF-8 Encoding (CVE-2024-46954)  * ghostscript: Path Traversal and Code Execution via Integer Overflow in Ghostscript (CVE-2024-46953)  * ghostscript: Out-of-Bounds Data Access in Ghostscript Leads to Arbitrary Code Execution (CVE-2024-46956)  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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ghostscript Debian 12.15 (bookworm) | 10.0.0~dfsg-11+deb12u3 | [DSA-5578-1](https://patchblox.com/security/data/fix/linux/dsa-5578-1.md) | Dec 15, 2023 |
| Linux | ghostscript Debian 13.5 (trixie) | 10.02.1~dfsg-1 | [DEBIAN-CVE-2023-46751](https://patchblox.com/security/data/fix/linux/debian-cve-2023-46751.md) | Dec 6, 2023 |
| Linux | ghostscript Debian 14 | 10.02.1~dfsg-1 | [DEBIAN-CVE-2023-46751](https://patchblox.com/security/data/fix/linux/debian-cve-2023-46751.md) | Dec 6, 2023 |
| Linux | ghostscript RHEL 8 | 0:9.27-16.el8_10 | [RHSA-2025:4362](https://patchblox.com/security/data/fix/linux/rhsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript RHEL 9 | 0:9.54.0-18.el9_6 | [RHSA-2025:7422](https://patchblox.com/security/data/fix/linux/rhsa-2025-7422.md) | May 13, 2025 |
| Linux | ghostscript Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.6 | [ghostscript 9.55.0~dfsg1-0ubuntu5.6](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ghostscript-9.55.0-dfsg1-0ubuntu5.6.md) | Dec 6, 2023 |
| Linux | ghostscript Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu1 | [ghostscript 10.02.1~dfsg1-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ghostscript-10.02.1-dfsg1-0ubuntu1.md) | Dec 6, 2023 |
| Linux | ghostscript almalinux 8 | 9.27-16.el8_10 | [ALSA-2025:4362](https://patchblox.com/security/data/fix/linux/alsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript almalinux 9 | 9.54.0-18.el9_6 | [ALSA-2025:7422](https://patchblox.com/security/data/fix/linux/alsa-2025-7422.md) | May 13, 2025 |
| Linux | ghostscript amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | ghostscript ol 8 | 0:9.27-16.el8_10 | [ELSA-2025-4362](https://patchblox.com/security/data/fix/linux/elsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript ol 9 | 0:9.54.0-18.el9_6 | [ELSA-2025-7422](https://patchblox.com/security/data/fix/linux/elsa-2025-7422.md) | May 21, 2025 |
| Linux | ghostscript rocky 8 | 0:9.27-16.el8_10 | [RLSA-2025:4362](https://patchblox.com/security/data/fix/linux/rlsa-2025-4362.md) | Jul 29, 2025 |
| Linux | ghostscript-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | ghostscript-debugsource amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | ghostscript-doc RHEL 8 | 0:9.27-16.el8_10 | [RHSA-2025:4362](https://patchblox.com/security/data/fix/linux/rhsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-doc RHEL 9 | 0:9.54.0-18.el9_6 | [RHSA-2025:7422](https://patchblox.com/security/data/fix/linux/rhsa-2025-7422.md) | May 13, 2025 |
| Linux | ghostscript-doc almalinux 8 | 9.27-16.el8_10 | [ALSA-2025:4362](https://patchblox.com/security/data/fix/linux/alsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-doc almalinux 9 | 9.54.0-18.el9_6 | [ALSA-2025:7422](https://patchblox.com/security/data/fix/linux/alsa-2025-7422.md) | May 13, 2025 |
| Linux | ghostscript-doc amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | ghostscript-doc ol 8 | 0:9.27-16.el8_10 | [ELSA-2025-4362](https://patchblox.com/security/data/fix/linux/elsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-doc ol 9 | 0:9.54.0-18.el9_6 | [ELSA-2025-7422](https://patchblox.com/security/data/fix/linux/elsa-2025-7422.md) | May 21, 2025 |
| Linux | ghostscript-gtk amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | ghostscript-gtk-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | ghostscript-tools-dvipdf RHEL 8 | 0:9.27-16.el8_10 | [RHSA-2025:4362](https://patchblox.com/security/data/fix/linux/rhsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-tools-dvipdf RHEL 9 | 0:9.54.0-18.el9_6 | [RHSA-2025:7422](https://patchblox.com/security/data/fix/linux/rhsa-2025-7422.md) | May 13, 2025 |
| Linux | ghostscript-tools-dvipdf almalinux 8 | 9.27-16.el8_10 | [ALSA-2025:4362](https://patchblox.com/security/data/fix/linux/alsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-tools-dvipdf almalinux 9 | 9.54.0-18.el9_6 | [ALSA-2025:7422](https://patchblox.com/security/data/fix/linux/alsa-2025-7422.md) | May 13, 2025 |
| Linux | ghostscript-tools-dvipdf amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | ghostscript-tools-dvipdf ol 8 | 0:9.27-16.el8_10 | [ELSA-2025-4362](https://patchblox.com/security/data/fix/linux/elsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-tools-dvipdf ol 9 | 0:9.54.0-18.el9_6 | [ELSA-2025-7422](https://patchblox.com/security/data/fix/linux/elsa-2025-7422.md) | May 21, 2025 |
| Linux | ghostscript-tools-fonts RHEL 8 | 0:9.27-16.el8_10 | [RHSA-2025:4362](https://patchblox.com/security/data/fix/linux/rhsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-tools-fonts RHEL 9 | 0:9.54.0-18.el9_6 | [RHSA-2025:7422](https://patchblox.com/security/data/fix/linux/rhsa-2025-7422.md) | May 13, 2025 |
| Linux | ghostscript-tools-fonts almalinux 8 | 9.27-16.el8_10 | [ALSA-2025:4362](https://patchblox.com/security/data/fix/linux/alsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-tools-fonts almalinux 9 | 9.54.0-18.el9_6 | [ALSA-2025:7422](https://patchblox.com/security/data/fix/linux/alsa-2025-7422.md) | May 13, 2025 |
| Linux | ghostscript-tools-fonts amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | ghostscript-tools-fonts ol 8 | 0:9.27-16.el8_10 | [ELSA-2025-4362](https://patchblox.com/security/data/fix/linux/elsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-tools-fonts ol 9 | 0:9.54.0-18.el9_6 | [ELSA-2025-7422](https://patchblox.com/security/data/fix/linux/elsa-2025-7422.md) | May 21, 2025 |
| Linux | ghostscript-tools-printing RHEL 8 | 0:9.27-16.el8_10 | [RHSA-2025:4362](https://patchblox.com/security/data/fix/linux/rhsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-tools-printing RHEL 9 | 0:9.54.0-18.el9_6 | [RHSA-2025:7422](https://patchblox.com/security/data/fix/linux/rhsa-2025-7422.md) | May 13, 2025 |
| Linux | ghostscript-tools-printing almalinux 8 | 9.27-16.el8_10 | [ALSA-2025:4362](https://patchblox.com/security/data/fix/linux/alsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-tools-printing almalinux 9 | 9.54.0-18.el9_6 | [ALSA-2025:7422](https://patchblox.com/security/data/fix/linux/alsa-2025-7422.md) | May 13, 2025 |
| Linux | ghostscript-tools-printing amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | ghostscript-tools-printing ol 8 | 0:9.27-16.el8_10 | [ELSA-2025-4362](https://patchblox.com/security/data/fix/linux/elsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-tools-printing ol 9 | 0:9.54.0-18.el9_6 | [ELSA-2025-7422](https://patchblox.com/security/data/fix/linux/elsa-2025-7422.md) | May 21, 2025 |
| Linux | ghostscript-x Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.6 | [ghostscript-x 9.55.0~dfsg1-0ubuntu5.6](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ghostscript-x-9.55.0-dfsg1-0ubuntu5.6.md) | Dec 6, 2023 |
| Linux | ghostscript-x11 RHEL 8 | 0:9.27-16.el8_10 | [RHSA-2025:4362](https://patchblox.com/security/data/fix/linux/rhsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-x11 RHEL 9 | 0:9.54.0-18.el9_6 | [RHSA-2025:7422](https://patchblox.com/security/data/fix/linux/rhsa-2025-7422.md) | May 13, 2025 |
| Linux | ghostscript-x11 almalinux 8 | 9.27-16.el8_10 | [ALSA-2025:4362](https://patchblox.com/security/data/fix/linux/alsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-x11 almalinux 9 | 9.54.0-18.el9_6 | [ALSA-2025:7422](https://patchblox.com/security/data/fix/linux/alsa-2025-7422.md) | May 13, 2025 |
| Linux | ghostscript-x11 amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | ghostscript-x11 ol 8 | 0:9.27-16.el8_10 | [ELSA-2025-4362](https://patchblox.com/security/data/fix/linux/elsa-2025-4362.md) | Apr 30, 2025 |
| Linux | ghostscript-x11 ol 9 | 0:9.54.0-18.el9_6 | [ELSA-2025-7422](https://patchblox.com/security/data/fix/linux/elsa-2025-7422.md) | May 21, 2025 |
| Linux | ghostscript-x11-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | libgs RHEL 8 | 0:9.27-16.el8_10 | [RHSA-2025:4362](https://patchblox.com/security/data/fix/linux/rhsa-2025-4362.md) | Apr 30, 2025 |
| Linux | libgs RHEL 9 | 0:9.54.0-18.el9_6 | [RHSA-2025:7422](https://patchblox.com/security/data/fix/linux/rhsa-2025-7422.md) | May 13, 2025 |
| Linux | libgs almalinux 8 | 9.27-16.el8_10 | [ALSA-2025:4362](https://patchblox.com/security/data/fix/linux/alsa-2025-4362.md) | Apr 30, 2025 |
| Linux | libgs almalinux 9 | 9.54.0-18.el9_6 | [ALSA-2025:7422](https://patchblox.com/security/data/fix/linux/alsa-2025-7422.md) | May 13, 2025 |
| Linux | libgs amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | libgs ol 8 | 0:9.27-16.el8_10 | [ELSA-2025-4362](https://patchblox.com/security/data/fix/linux/elsa-2025-4362.md) | Apr 30, 2025 |
| Linux | libgs ol 9 | 0:9.54.0-18.el9_6 | [ELSA-2025-7422](https://patchblox.com/security/data/fix/linux/elsa-2025-7422.md) | May 21, 2025 |
| Linux | libgs-common Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu1 | [libgs-common 10.02.1~dfsg1-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgs-common-10.02.1-dfsg1-0ubuntu1.md) | Dec 6, 2023 |
| Linux | libgs-debuginfo amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | libgs-devel RHEL 8 | 0:9.27-16.el8_10 | [RHSA-2025:4362](https://patchblox.com/security/data/fix/linux/rhsa-2025-4362.md) | Apr 30, 2025 |
| Linux | libgs-devel RHEL 9 | 0:9.54.0-18.el9_6 | [RHSA-2025:7422](https://patchblox.com/security/data/fix/linux/rhsa-2025-7422.md) | May 13, 2025 |
| Linux | libgs-devel almalinux 8 | 9.27-16.el8_10 | [ALSA-2025:4362](https://patchblox.com/security/data/fix/linux/alsa-2025-4362.md) | Apr 30, 2025 |
| Linux | libgs-devel almalinux 9 | 9.54.0-18.el9_6 | [ALSA-2025:7422](https://patchblox.com/security/data/fix/linux/alsa-2025-7422.md) | May 13, 2025 |
| Linux | libgs-devel amzn 2023 | 9.56.1-7.amzn2023.0.5 | [ALAS2023-2024-470](https://patchblox.com/security/data/fix/linux/alas2023-2024-470.md) | Jan 3, 2024 |
| Linux | libgs-devel ol 8 | 0:9.27-16.el8_10 | [ELSA-2025-4362](https://patchblox.com/security/data/fix/linux/elsa-2025-4362.md) | Apr 30, 2025 |
| Linux | libgs-devel ol 9 | 0:9.54.0-18.el9_6 | [ELSA-2025-7422](https://patchblox.com/security/data/fix/linux/elsa-2025-7422.md) | May 21, 2025 |
| Linux | libgs10 Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu1 | [libgs10 10.02.1~dfsg1-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgs10-10.02.1-dfsg1-0ubuntu1.md) | Dec 6, 2023 |
| Linux | libgs10-common Ubuntu 24.04.5 LTS (noble) | 10.02.1~dfsg1-0ubuntu1 | [libgs10-common 10.02.1~dfsg1-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgs10-common-10.02.1-dfsg1-0ubuntu1.md) | Dec 6, 2023 |
| Linux | libgs9 Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.6 | [libgs9 9.55.0~dfsg1-0ubuntu5.6](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libgs9-9.55.0-dfsg1-0ubuntu5.6.md) | Dec 6, 2023 |
| Linux | libgs9-common Ubuntu 22.04.1 LTS (jammy) | 9.55.0~dfsg1-0ubuntu5.6 | [libgs9-common 9.55.0~dfsg1-0ubuntu5.6](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libgs9-common-9.55.0-dfsg1-0ubuntu5.6.md) | Dec 6, 2023 |

---

Data as of 2026-11-08T00:53:09Z 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.
