CVE-2020-21710
Ghostscript vulnerability analysis and mitigation

Overview

A divide by zero vulnerability (CVE-2020-21710) was discovered in eps_print_page function within gdevepsn.c of Artifex Software GhostScript 9.50. The vulnerability was reported on November 5, 2019, and publicly disclosed on August 22, 2023. This security flaw affects the GhostScript software, which is an interpreter for PostScript and PDF files (NVD, Debian LTS).

Technical details

The vulnerability occurs in the eps_print_page function within gdevepsn.c when processing custom resolutions that are too low, leading to a division by zero condition. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. The vulnerability is classified as CWE-369 (Divide By Zero) (NVD, Ghostscript Bug).

Impact

When exploited, this vulnerability allows remote attackers to cause a denial of service condition by opening a specially crafted PDF file. The impact is limited to availability, with no effects on confidentiality or integrity of the system (NVD).

Mitigation and workarounds

The vulnerability has been fixed through patches released in multiple commits. The fix was implemented in GhostScript versions after 9.50. Various Linux distributions have also released security updates to address this vulnerability, including Debian and Red Hat Enterprise Linux (Debian LTS, Red Hat).

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-2025-59800MEDIUM5.5
  • GhostscriptGhostscript
  • ghostscript
NoYesSep 22, 2025
CVE-2025-59799MEDIUM5.5
  • GhostscriptGhostscript
  • ghostscript-tools-dvipdf
NoYesSep 22, 2025
CVE-2025-59798MEDIUM5.5
  • GhostscriptGhostscript
  • ghostscript-debugsource
NoYesSep 22, 2025
CVE-2025-7462MEDIUM5.3
  • GhostscriptGhostscript
  • ghostscript
NoYesJul 12, 2025
CVE-2025-59801MEDIUM4.3
  • GhostscriptGhostscript
  • ghostscript
NoYesSep 22, 2025

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