Ghostscript: heap buffer over write vulnerability in ghostscript's lp8000_print_page() in gdevlp8k.c

Summary

CVECVE-2020-27792
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-08-19 23:15:08 UTC
Updated2026-11-25 18:18:42 UTC
DescriptionA 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


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.1HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
3.1[email protected]Secondary7.1HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
3.1CNACVSS7.1HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
Application Artifex Ghostscript All All All All
Operating System Debian Debian Linux 10.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

Additional Advisory Data

SourceTimeEvent
CNA2023-10-31T00:00:00.000ZReported to Red Hat.
CNA2019-11-06T00:00:00.000ZMade 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)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report