Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2020-27792
Ghostscript vulnerability analysis and mitigation

Overview

CVE-2020-27792 is a heap-based buffer overwrite vulnerability discovered in GhostScript's lp8000_print_page() function within the gdevlp8k.c file. The vulnerability was reported in 2019 and publicly disclosed in August 2022. This security flaw affects GhostScript versions up to and including 9.50, impacting various Linux distributions including Debian, Ubuntu, and Red Hat systems (NVD, Ubuntu).

Technical details

The vulnerability is classified as a heap-based buffer overflow issue occurring in the lp8000_print_page() function. It received a CVSS v3.1 base score of 7.1 (High), with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H. The attack requires local access and user interaction, but no privileges, and can potentially result in high impact on integrity and availability (NVD, Red Hat).

Impact

When successfully exploited, this vulnerability can lead to memory corruption or a denial of service condition. The attack requires tricking a user into opening a specially crafted PDF file, which then triggers the heap buffer overflow (CVE, NVD).

Exploitability

The vulnerability requires local access and user interaction to exploit. An attacker needs to craft a malicious PDF file and convince a user to open it using the affected GhostScript version. The attack complexity is considered low, indicating that the exploitation is relatively straightforward once the conditions are met (NVD).

Mitigation and workarounds

The vulnerability has been fixed in various distributions through security updates. Debian 10 (Buster) received the fix in version 9.27~dfsg-2+deb10u6, Ubuntu has patched versions in multiple releases including 20.04 LTS (focal) with version 9.50~dfsg-5ubuntu4.6, and 18.04 LTS (bionic) with version 9.26~dfsg+0-0ubuntu0.18.04.17. The upstream fix was implemented in GhostScript through commit 4f6bc662909ab79e8fbe9822afb36e8a0eafc2b7 (Debian, Ubuntu).

Additional resources


SourceThis report was generated using AI

Related Ghostscript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-39919CRITICAL9.3
  • Ghostscript logoGhostscript
  • ghostscript
NoNoSep 15, 2026
CVE-2025-59800MEDIUM5.5
  • Ghostscript logoGhostscript
  • ghostscript-devel
NoYesSep 22, 2025
CVE-2025-59799MEDIUM5.5
  • Ghostscript logoGhostscript
  • ghostscript-tools-dvipdf
NoYesSep 22, 2025
CVE-2025-59801MEDIUM4.3
  • Ghostscript logoGhostscript
  • ghostscript-devel
NoYesSep 22, 2025
CVE-2026-6192LOW1.9
  • Ghostscript logoGhostscript
  • texmaker
NoYesApr 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management