CVE-2020-27792
Reported by redhat · Published August 19, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ghostscript | Amazon Linux | 9.25-5.amzn2.0.1 |
| ghostscript-gtk | Amazon Linux | 9.25-5.amzn2.0.1 |
| ghostscript-cups | Amazon Linux | 9.25-5.amzn2.0.1 |
| libgs | Amazon Linux | 9.25-5.amzn2.0.1 |
| ghostscript-doc | Amazon Linux | 9.25-5.amzn2.0.1 |
| libgs-devel | Amazon Linux | 9.25-5.amzn2.0.1 |
| 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 |
| ghostscript | artifex | 9.50 |
| ghostscript | Ubuntu:18.04:LTS | 9.26~dfsg+0-0ubuntu0.18.04.17 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | 0:9.27-16.el8_10 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| amazon:2 | ghostscript | 0 |
| amazon:2 | ghostscript-gtk | 0 |
| amazon:2 | ghostscript-cups | 0 |
| amazon:2 | libgs | 0 |
| Red Hat | Red Hat Enterprise Linux 7 | |
| amazon:2 | ghostscript-doc | 0 |
| amazon:2 | libgs-devel | 0 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 8 | 0:9.27-16.el8_10 |
Timeline
- Aug 19, 2022 CVE Published
- Aug 20, 2022 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (4 in total, the first dated here)
- Sep 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-27792
vulnetix vdb fixes CVE-2020-27792
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-27792/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2025:4362 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2247179 issue-trackingx_refsource_REDHAT
- https://bugs.ghostscript.com/show_bug.cgi?id=701844 url
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=4f6bc662909ab79e8fbe9822afb36e8a0eafc2b7 url
- [debian-lts-announce] 20220903 [SECURITY] [DLA 3096-1] ghostscript security update mailing-list