CVE-2018-10194: Artifex Ghostscript

High severity, CVSS 7.8. EPSS: 1.8% chance of exploitation in the next 30 days.

The set_text_distance function in devices/vector/gdevpdts.c in the pdfwrite component in Artifex Ghostscript through 9.22 does not prevent overflows in text-positioning calculation, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PDF document.

Affected products

  • Artifex Ghostscript: up to and including 9.22
  • Canonical Ubuntu Linux: version 14.04 only; version 16.04 only; version 17.10 only; version 18.04 only
  • Debian Debian Linux: version 7.0 only
  • Red Hat Enterprise Linux Desktop: version 7.0 only
  • Red Hat Enterprise Linux Server: version 7.0 only
  • Red Hat Enterprise Linux Server Aus: version 7.7 only
  • Red Hat Enterprise Linux Server Eus: version 7.5 only; version 7.7 only
  • Red Hat Enterprise Linux Server Tus: version 7.7 only
  • Red Hat Enterprise Linux Workstation: version 7.0 only

Published 2018-04-18. Last modified 2026-06-17.