CVE-2020-27792
published high CVSS 3.1 · 7.1Ghostscript: heap buffer over write vulnerability in ghostscript's lp8000_print_page() in gdevlp8k.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 8 | ghostscript0:9.27-16.el8_10 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | ghostscript | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | ghostscript | Unaffected | Not required | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-1947 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | ghostscript | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| Debian | buster | ghostscript | Advisory build | 9.27~dfsg-2+deb10u6 | DLA-3096-1 |
| Oracle Linux | 8 | ghostscriptaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptaarch64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Ubuntu | bionic | ghostscript | Advisory build | 9.26~dfsg+0-0ubuntu0.18.04.17 | USN-5643-1 |
| Amazon Linux | AL2 | ghostscriptaarch64 | Listed in advisory | Not stated | ALAS2-2023-1947 |
| Rocky Linux | 8 | ghostscriptaarch64 | Listed in advisory | Not stated | RLSA-2025:4362 |
| Oracle Linux | 8 | ghostscriptx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptppc64le | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscripts390x | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptsrc | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscriptx86_64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Ubuntu | focal | ghostscript | Advisory build | 9.50~dfsg-5ubuntu4.6 | USN-5643-1 |
| Ubuntu | xenial | ghostscript | Advisory build | 9.26~dfsg+0-0ubuntu0.16.04.14+esm4 | USN-5618-1 |
| AlmaLinux | 8 | ghostscript-doc | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux | 8 | ghostscript-tools-dvipdf | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux | 8 | ghostscript-tools-fonts | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux | 8 | ghostscript-tools-printing | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux | 8 | ghostscript-x11 | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux | 8 | libgs | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| AlmaLinux | 8 | libgs-devel | Advisory build | 9.27-16.el8_10 | ALSA-2025:4362 |
| Oracle Linux | 8 | ghostscript-docaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-docx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-tools-dvipdfaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-tools-dvipdfx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-tools-fontsaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-tools-fontsx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-tools-printingaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-tools-printingx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-x11aarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | ghostscript-x11x86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | libgsaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | libgsx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | libgs-develaarch64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Oracle Linux | 8 | libgs-develx86_64 | Advisory build | 0:9.27-16.el8_10 | ELSA-2025-4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-debuginfoaarch64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-debuginfoi686 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-debuginfoppc64le | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-debuginfos390x | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-debuginfox86_64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-debugsourceaarch64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-debugsourcei686 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-debugsourceppc64le | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-debugsources390x | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-debugsourcex86_64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-docnoarch | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-gtk-debuginfoaarch64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-gtk-debuginfoi686 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-gtk-debuginfoppc64le | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-gtk-debuginfos390x | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-gtk-debuginfox86_64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-tools-dvipdfaarch64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-tools-dvipdfppc64le | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-tools-dvipdfs390x | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-tools-dvipdfx86_64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-tools-fontsaarch64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-tools-fontsppc64le | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-tools-fontss390x | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-tools-fontsx86_64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-tools-printingaarch64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-tools-printingppc64le | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-tools-printings390x | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-tools-printingx86_64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-x11aarch64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-x11ppc64le | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-x11s390x | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-x11x86_64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-x11-debuginfoaarch64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-x11-debuginfoi686 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-x11-debuginfoppc64le | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-x11-debuginfos390x | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | ghostscript-x11-debuginfox86_64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgsaarch64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgsi686 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgsppc64le | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgss390x | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgsx86_64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgs-debuginfoaarch64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgs-debuginfoi686 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgs-debuginfoppc64le | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgs-debuginfos390x | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgs-debuginfox86_64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgs-develaarch64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgs-develi686 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgs-develppc64le | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgs-devels390x | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Red Hat Enterprise Linux | RHEL-8 | libgs-develx86_64 | Advisory build | 9.27-16.el8_10 | RHSA-2025:4362 |
| Ubuntu | bionic | ghostscript-x | Advisory build | 9.26~dfsg+0-0ubuntu0.18.04.17 | USN-5643-1 |
| Ubuntu | bionic | libgs9 | Advisory build | 9.26~dfsg+0-0ubuntu0.18.04.17 | USN-5643-1 |
| Ubuntu | bionic | libgs9-common | Advisory build | 9.26~dfsg+0-0ubuntu0.18.04.17 | USN-5643-1 |
| Ubuntu | focal | ghostscript-x | Advisory build | 9.50~dfsg-5ubuntu4.6 | USN-5643-1 |
| Ubuntu | focal | libgs9 | Advisory build | 9.50~dfsg-5ubuntu4.6 | USN-5643-1 |
| Ubuntu | focal | libgs9-common | Advisory build | 9.50~dfsg-5ubuntu4.6 | USN-5643-1 |
| Ubuntu | xenial | ghostscript-x | Advisory build | 9.26~dfsg+0-0ubuntu0.16.04.14+esm4 | USN-5618-1 |
| Ubuntu | xenial | libgs9 | Advisory build | 9.26~dfsg+0-0ubuntu0.16.04.14+esm4 | USN-5618-1 |
| Ubuntu | xenial | libgs9-common | Advisory build | 9.26~dfsg+0-0ubuntu0.16.04.14+esm4 | USN-5618-1 |
| Amazon Linux | AL2 | ghostscripti686 | Listed in advisory | Not stated | ALAS2-2023-1947 |
| Amazon Linux | AL2 | ghostscriptnoarch | Listed in advisory | Not stated | ALAS2-2023-1947 |
| Amazon Linux | AL2 | ghostscriptsrc | Listed in advisory | Not stated | ALAS2-2023-1947 |
| Amazon Linux | AL2 | ghostscriptx86_64 | Listed in advisory | Not stated | ALAS2-2023-1947 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A heap-based buffer overwrite vulnerability was found in GhostScript's lp8000_print_page() function in the gdevlp8k.c file. This flaw allows an attacker to trick a user into opening a crafted PDF file, triggering the heap buffer overflow that could lead to memory corruption or a denial of service.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | 0:9.27-16.el8_10 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
7- RHSA-2025:4362 https://access.redhat.com/errata/RHSA-2025:4362
- https://access.redhat.com/security/cve/CVE-2020-27792
- https://bugs.ghostscript.com/show_bug.cgi?id=701844
- RHBZ#2247179 https://bugzilla.redhat.com/show_bug.cgi?id=2247179
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=4f6bc662909ab79e8fbe9822afb36e8a0eafc2b7
- https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4f6bc662909ab79e8fbe9822afb36e8a0eafc2b7
- [debian-lts-announce] 20220903 [SECURITY] [DLA 3096-1] ghostscript security update https://lists.debian.org/debian-lts-announce/2022/09/msg00005.html
Provider assertions
2redhat · cna
Ghostscript: heap buffer over write vulnerability in ghostscript's lp8000_print_page() in gdevlp8k.c
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 29446c5740a9c68c1725c35db9d06b5c18e0f59ecddb04691c395e686648ef9c
- Ingested
- 25 Nov 2026, 17:39:58 UTC
- Source record
- Official CVE record