CVE-2020-27792 json
Ghostscript: heap buffer over write vulnerability in ghostscript's lp8000_print_page() in gdevlp8k.c
published 4y ago modified 2d ago also EUVD-2020-20294
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Enterprise Linux 8 0:9.27-16.el8_10
- ghostscript Debian 14, Debian 13, Debian 12 9.51~dfsg-1
debian advisories DEBIAN-CVE-2020-27792
- ghostscript Ubuntu 18.04 LTS 9.26~dfsg+0-0ubuntu0.18.04.17
- ghostscript Ubuntu 20.04 LTS 9.50~dfsg-5ubuntu4.6
- ghostscript Ubuntu Pro 16.04 LTS 9.26~dfsg+0-0ubuntu0.16.04.14+esm4
ubuntu advisories UBUNTU-CVE-2020-27792
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ghostscript RHEL 8 9.27-16.el8_10
- libgs RHEL 8 9.27-16.el8_10
- ghostscript-x11 RHEL 8 9.27-16.el8_10
- ghostscript-tools-fonts RHEL 8 9.27-16.el8_10
- ghostscript-tools-dvipdf RHEL 8 9.27-16.el8_10
- ghostscript-tools-printing RHEL 8 9.27-16.el8_10
red hat advisories RHSA-2025:4362
- ghostscript AlmaLinux 8 9.27-16.el8_10
- libgs AlmaLinux 8 9.27-16.el8_10
- ghostscript-x11 AlmaLinux 8 9.27-16.el8_10
- ghostscript-tools-fonts AlmaLinux 8 9.27-16.el8_10
- ghostscript-tools-dvipdf AlmaLinux 8 9.27-16.el8_10
- ghostscript-tools-printing AlmaLinux 8 9.27-16.el8_10
almalinux advisories ALSA-2025:4362
- ghostscript Rocky Linux 8 9.27-16.el8_10
rocky linux advisories RLSA-2025:4362
Is CVE-2020-27792 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-27792 updated cvss 7.1
ghostscript: heap buffer over write vulnerability in GhostScript's lp8000_print_page() in gdevlp8k.c
-
Red Hat Enterprise Linux 6 ghostscript, ghostscript-gtk Red Hat Enterprise Linux 7 libgs, ghostscript, ghostscript-gtk, ghostscript-cupsaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) libgs 9.27-16.el8_10, ghostscript 9.27-16.el8_10, ghostscript-x11 9.27-16.el8_10 Red Hat Enterprise Linux CRB (v. 8) ghostscript-tools-fonts 9.27-16.el8_10, ghostscript-tools-dvipdf 9.27-16.el8_10, ghostscript-tools-printing 9.27-16.el8_10fixed: vendor fix RHSA-2025:4362
-
Red Hat Enterprise Linux 9 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printingnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
Affected products
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 9
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
access.redhat.com
/errata/RHSA-2025:4362
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2020-27792
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2247179
issue-tracking
- git.ghostscript.com /?p=ghostpdl.git;a=commitdiff;h=4f6bc662909ab79e8fbe9822afb36e8a0eafc2b7
- bugs.ghostscript.com /show_bug.cgi?id=701844
- git.ghostscript.com /?p=ghostpdl.git%3Ba=commitdiff%3Bh=4f6bc662909ab79e8fbe9822afb36e8a0eafc2b7
-
lists.debian.org
/debian-lts-announce/2022/09/msg00005.html
mailing-list
Sources
- CVE List CVE-2020-27792
- NVD CVE-2020-27792
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.