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

CVE-2020-27792 is fixed in 11 products on 1 platform, first by ghostscript 9.26~dfsg+0-0ubuntu0.18.04.17, released August 19, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2020-27792
- Priority: High
- CVSS: 7.8 (Moderate)
- EPSS: 0.0047
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 19, 2022

## 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) | 9.51~dfsg-1 | [DEBIAN-CVE-2020-27792](https://patchblox.com/security/data/fix/linux/debian-cve-2020-27792.md) | Aug 19, 2022 |
| Linux | ghostscript Debian 13.5 (trixie) | 9.51~dfsg-1 | [DEBIAN-CVE-2020-27792](https://patchblox.com/security/data/fix/linux/debian-cve-2020-27792.md) | Aug 19, 2022 |
| Linux | ghostscript Debian 14 | 9.51~dfsg-1 | [DEBIAN-CVE-2020-27792](https://patchblox.com/security/data/fix/linux/debian-cve-2020-27792.md) | Aug 19, 2022 |
| 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 Ubuntu 18.04.6 LTS (bionic) | 9.26~dfsg+0-0ubuntu0.18.04.17 | [ghostscript 9.26~dfsg+0-0ubuntu0.18.04.17](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ghostscript-9.26-dfsg-0-0ubuntu0.18.04.17.md) | Aug 19, 2022 |
| Linux | ghostscript Ubuntu 20.04 LTS (focal) | 9.50~dfsg-5ubuntu4.6 | [ghostscript 9.50~dfsg-5ubuntu4.6](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ghostscript-9.50-dfsg-5ubuntu4.6.md) | Aug 19, 2022 |
| 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 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 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-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 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 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 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 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 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 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 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 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 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 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 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-x Ubuntu 18.04.6 LTS (bionic) | 9.26~dfsg+0-0ubuntu0.18.04.17 | [ghostscript-x 9.26~dfsg+0-0ubuntu0.18.04.17](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ghostscript-x-9.26-dfsg-0-0ubuntu0.18.04.17.md) | Aug 19, 2022 |
| Linux | ghostscript-x Ubuntu 20.04 LTS (focal) | 9.50~dfsg-5ubuntu4.6 | [ghostscript-x 9.50~dfsg-5ubuntu4.6](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ghostscript-x-9.50-dfsg-5ubuntu4.6.md) | Aug 19, 2022 |
| 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 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 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 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 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 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 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 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 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 | libgs9 Ubuntu 18.04.6 LTS (bionic) | 9.26~dfsg+0-0ubuntu0.18.04.17 | [libgs9 9.26~dfsg+0-0ubuntu0.18.04.17](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libgs9-9.26-dfsg-0-0ubuntu0.18.04.17.md) | Aug 19, 2022 |
| Linux | libgs9 Ubuntu 20.04 LTS (focal) | 9.50~dfsg-5ubuntu4.6 | [libgs9 9.50~dfsg-5ubuntu4.6](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libgs9-9.50-dfsg-5ubuntu4.6.md) | Aug 19, 2022 |
| Linux | libgs9-common Ubuntu 18.04.6 LTS (bionic) | 9.26~dfsg+0-0ubuntu0.18.04.17 | [libgs9-common 9.26~dfsg+0-0ubuntu0.18.04.17](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libgs9-common-9.26-dfsg-0-0ubuntu0.18.04.17.md) | Aug 19, 2022 |
| Linux | libgs9-common Ubuntu 20.04 LTS (focal) | 9.50~dfsg-5ubuntu4.6 | [libgs9-common 9.50~dfsg-5ubuntu4.6](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libgs9-common-9.50-dfsg-5ubuntu4.6.md) | Aug 19, 2022 |

---

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.
