Vulnerability · Published Aug 19, 2022 · Assigned by redhat

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

High 7.1

In plain English

A high-severity memory corruption in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.5%top 59.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8ghostscript9.27-16.el8_10ALSA-2025:4362
AlmaLinux:8ghostscript-doc9.27-16.el8_10ALSA-2025:4362
AlmaLinux:8ghostscript-tools-dvipdf9.27-16.el8_10ALSA-2025:4362
AlmaLinux:8ghostscript-tools-fonts9.27-16.el8_10ALSA-2025:4362
AlmaLinux:8ghostscript-tools-printing9.27-16.el8_10ALSA-2025:4362
AlmaLinux:8ghostscript-x119.27-16.el8_10ALSA-2025:4362
AlmaLinux:8libgs9.27-16.el8_10ALSA-2025:4362
AlmaLinux:8libgs-devel9.27-16.el8_10ALSA-2025:4362
Debian:12ghostscript9.51~dfsg-1DEBIAN-CVE-2020-27792
Debian:13ghostscript9.51~dfsg-1DEBIAN-CVE-2020-27792
Debian:14ghostscript9.51~dfsg-1DEBIAN-CVE-2020-27792
Rocky Linux:8ghostscript0:9.27-16.el8_10RLSA-2025:4362
Ubuntu:22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.1USN-5643-1

Affected products (as reported)

VendorProductVersions
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 6 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 9 see references

Weakness: CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

References