Skip to content
Fencer Vulns
medium 5.5

CVE-2020-21710 json

A divide by zero issue discovered in eps_print_page in gdevepsn.c in Artifex Software GhostScript 9.50 allows remote attackers to cause a d…

published 2023-08-22 3 y ago modified 2026-06-17 4 mo ago also EUVD-2020-14478

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

Summary

A divide by zero issue discovered in eps_print_page in gdevepsn.c in Artifex Software GhostScript 9.50 allows remote attackers to cause a denial of service via opening of crafted PDF file.

Patch / fix

  • ghostscript Debian 14, Debian 13, Debian 12 9.51~dfsg-1

debian advisories DEBIAN-CVE-2020-21710

  • ghostscript Ubuntu 20.04 LTS 9.50~dfsg-5ubuntu4.10
  • ghostscript Ubuntu Pro 16.04 LTS 9.26~dfsg+0-0ubuntu0.16.04.14+esm7
  • ghostscript Ubuntu Pro 18.04 LTS 9.26~dfsg+0-0ubuntu0.18.04.18+esm2

ubuntu advisories UBUNTU-CVE-2020-21710

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ghostscript RHEL 8 9.27-12.el8
  • libgs RHEL 8 9.27-12.el8
  • ghostscript-x11 RHEL 8 9.27-12.el8
  • ghostscript-tools-fonts RHEL 8 9.27-12.el8
  • ghostscript-tools-dvipdf RHEL 8 9.27-12.el8
  • ghostscript-tools-printing RHEL 8 9.27-12.el8

red hat advisories RHSA-2024:2966

  • ghostscript AlmaLinux 8 9.27-12.el8
  • libgs AlmaLinux 8 9.27-12.el8
  • ghostscript-x11 AlmaLinux 8 9.27-12.el8
  • ghostscript-tools-fonts AlmaLinux 8 9.27-12.el8
  • ghostscript-tools-dvipdf AlmaLinux 8 9.27-12.el8
  • ghostscript-tools-printing AlmaLinux 8 9.27-12.el8

almalinux advisories ALSA-2024:2966

  • ghostscript Rocky Linux 8 9.27-12.el8

rocky linux advisories RLSA-2024:2966

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-21710 updated cvss 6.5

ghostscript: Divide by zero in eps_print_page in gdevepsn.c

  • Red Hat Enterprise Linux 6 ghostscript, ghostscript-gtk Red Hat Enterprise Linux 7 libgs, ghostscript, ghostscript-gtk, ghostscript-cups
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printing
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux 9 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printing
    affected: no fix available
  • Red Hat Enterprise Linux AppStream (v. 8) libgs 9.27-12.el8, ghostscript 9.27-12.el8, ghostscript-x11 9.27-12.el8 Red Hat Enterprise Linux CRB (v. 8) ghostscript-tools-fonts 9.27-12.el8, ghostscript-tools-dvipdf 9.27-12.el8, ghostscript-tools-printing 9.27-12.el8
    fixed: vendor fix RHSA-2024:2966

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • bugs.ghostscript.com https://bugs.ghostscript.com/show_bug.cgi?id=701843 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.