Ghostscript: heap buffer over write vulnerability in ghostscript's lp8000_print_page() in gdevlp8k.c
Summary
| CVE | CVE-2020-27792 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-08-19 23:15:08 UTC |
| Updated | 2026-11-25 18:18:42 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.1 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
EPSS: 0.004680000 probability, percentile 0.407380000 (date 2026-11-08)
Problem Types: CWE-119 | CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
| 3.1 | [email protected] | Secondary | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
| 3.1 | CNA | CVSS | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Artifex | Ghostscript | All | All | All | All |
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:9.27-16.el8_10 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.ghostscript.com Git - ghostpdl.git/commitdiff | af854a3a-2127-422b-91ae-364da2661108 | git.ghostscript.com | |
| 701844 – heap-buffer-overflow at devices/gdevlp8k.c:330 in lp8000_print_page | af854a3a-2127-422b-91ae-364da2661108 | bugs.ghostscript.com | |
| [SECURITY] [DLA 3096-1] ghostscript security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| 2247179 – (CVE-2020-27792) CVE-2020-27792 ghostscript: heap buffer over write vulnerability in GhostScript's lp8000_print_page() in gdevlp8k.c | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | |
| access.redhat.com/errata/RHSA-2025:4362 | [email protected] | access.redhat.com | |
| cve-details | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| git.ghostscript.com Git - ghostpdl.git/commitdiff | af854a3a-2127-422b-91ae-364da2661108 | git.ghostscript.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2023-10-31T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2019-11-06T00:00:00.000Z | Made public. |
Workarounds
CNA: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Legacy QID Mappings
- 180991 Debian Security Update for ghostscript (DLA 3096-1)
- 198965 Ubuntu Security Notification for Ghostscript Vulnerabilities (USN-5643-1)
- 354776 Amazon Linux Security Advisory for ghostscript : ALAS2-2023-1947
- 354856 Amazon Linux Security Advisory for ghostscript : ALAS-2023-1725
- 355071 Amazon Linux Security Advisory for ghostscript : AL2012-2023-395
- 673099 EulerOS Security Update for ghostscript (EulerOS-SA-2023-2144)