Every CVE Search/ Get API key

CVE-2018-10194

The set_text_distance function in devices/vector/gdevpdts.c in the pdfwrite component in Artifex...

7.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.05%Down 0.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.8

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.

Record
CVE-2018-10194
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-10194
Updated
2026-11-02
EUVDEUVD-2018-2270 No score

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.

Record
EUVD-2018-2270
Updated
2026-11-03
GitHub AdvisoriesGHSA-x8vv-69hx-8rmh 7.8

The set_text_distance function in devices/vector/gdevpdts.c in the pdfwrite component in Artifex...

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.

Record
GHSA-x8vv-69hx-8rmh
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-119
Updated
2026-11-02
OSVALPINE-CVE-2018-10194 7.8

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.

Record
ALPINE-CVE-2018-10194
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2018-10194 7.8

CVE-2018-10194 does not affect BellSoft software

Record
BELL-CVE-2018-10194
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 10 moreShow less
OSV 7.8

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.

Record
CVE-2018-10194
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-10194 7.8

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.

Record
DEBIAN-CVE-2018-10194
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2018:2918 7.3

Red Hat Security Advisory: ghostscript security update

Record
RHSA-2018:2918
CVSS 3.0
7.3 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2018-10194 7.8

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.

Record
UBUNTU-CVE-2018-10194
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2018-0219 No score

Updated ghostscript packages fix security vulnerability

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 (CVE-2018-10194).

Record
MGASA-2018-0219
Updated
2026-11-02
OSVopenSUSE-SU-2024:10783-1 No score

ghostscript-9.54.0-2.2 on GA media

These are all security issues fixed in the ghostscript-9.54.0-2.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10783-1
Updated
2026-11-02
OSVSUSE-SU-2018:1332-1 No score

Security update for ghostscript

This update for ghostscript fixes the following issues:

  • CVE-2018-10194: A stack-based buffer overflow was fixed in gdevpdts.c (bsc#1090099)
Record
SUSE-SU-2018:1332-1
Updated
2026-11-02
OSVSUSE-SU-2018:1369-1 No score

Security update for ghostscript-library

This update for ghostscript-library fixes the following issues:

  • CVE-2018-10194: Fixed a stack-based buffer overflow in gdevpdts.c (bsc#1090099)
  • Fixed a crash in the fix for CVE-2016-9601.
Record
SUSE-SU-2018:1369-1
Updated
2026-11-02
OSVSUSE-SU-2018:1884-1 No score

Security update for ghostscript

This update for ghostscript fixes the following issues:

  • CVE-2018-10194: The set_text_distance function did not prevent overflows in text-positioning calculation, which allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PDF document (bsc#1090099).
Record
SUSE-SU-2018:1884-1
Updated
2026-11-02
OSVUSN-3636-1 No score

ghostscript vulnerabilities

It was discovered that Ghostscript incorrectly handled certain PostScript files. An attacker could possibly use this to cause a denial of server. (CVE-2016-10317)

It was discovered that Ghostscript incorrectly handled certain PDF files. An attacker could possibly use this to cause a denial of service. (CVE-2018-10194)

Record
USN-3636-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ghostscript
Alpine:v3.10
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.11
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.12
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.13
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.14
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.15
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.16
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.17
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.18
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.19
before 9.23-r0
9.23-r0
Show 55 moreShow less
Affected packages
PackageAffectedFixed
ghostscript
Alpine:v3.20
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.21
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.22
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.23
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.5
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.6
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.7
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.8
before 9.23-r0
9.23-r0
ghostscript
Alpine:v3.9
before 9.23-r0
9.23-r0
wireshark
Alpine:v3.5
before 2.2.14-r0
2.2.14-r0
ghostscript
Debian:12
before 9.22~dfsg-2.1
9.22~dfsg-2.1
ghostscript
Debian:13
before 9.22~dfsg-2.1
9.22~dfsg-2.1
ghostscript
Debian:14
before 9.22~dfsg-2.1
9.22~dfsg-2.1
ghostscript
Debian:7
before 9.05~dfsg-6.3+deb7u8, plus listed versions
9.05~dfsg-6.39.05~dfsg-6.3+deb7u19.05~dfsg-6.3+deb7u29.05~dfsg-6.3+deb7u39.05~dfsg-6.3+deb7u49.05~dfsg-6.3+deb7u59.05~dfsg-6.3+deb7u69.05~dfsg-6.3+deb7u7
9.05~dfsg-6.3+deb7u8
ghostscript
Mageia:5
before 9.23-1.mga5
9.23-1.mga5
ghostscript
Mageia:6
before 9.23-1.mga6
9.23-1.mga6
ghostscript
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-cups
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-debuginfo
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-devel
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-doc
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-gtk
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-cups
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-debuginfo
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-devel
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-doc
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-gtk
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-cups
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-debuginfo
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-devel
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-doc
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-gtk
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-cups
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-debuginfo
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-devel
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-doc
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript-gtk
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:9.07-29.el7_5.2
0:9.07-29.el7_5.2
ghostscript
SUSE:Linux Enterprise Desktop 12 SP3
before 9.15-23.10.2
9.15-23.10.2
ghostscript
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 9.15-23.10.2
9.15-23.10.2
ghostscript
SUSE:Linux Enterprise Server 12 SP3
before 9.15-23.10.2
9.15-23.10.2
ghostscript
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 9.15-23.10.2
9.15-23.10.2
ghostscript-library
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 2 CVEs
before 8.62-32.47.10.1
8.62-32.47.10.1
ghostscript-library
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 2 CVEs
before 8.62-32.47.10.1
8.62-32.47.10.1
ghostscript-library
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 2 CVEs
before 8.62-32.47.10.1
8.62-32.47.10.1
ghostscript
SUSE:Linux Enterprise Module for Basesystem 15
before 9.23-3.3.1
9.23-3.3.1
ghostscript
Ubuntu:14.04:LTS
before 9.10~dfsg-0ubuntu10.12, plus listed versions
9.10~dfsg-0ubuntu29.10~dfsg-0ubuntu39.10~dfsg-0ubuntu49.10~dfsg-0ubuntu59.10~dfsg-0ubuntu6
Show 13 moreShow less
9.10~dfsg-0ubuntu79.10~dfsg-0ubuntu89.10~dfsg-0ubuntu99.10~dfsg-0ubuntu109.10~dfsg-0ubuntu10.19.10~dfsg-0ubuntu10.29.10~dfsg-0ubuntu10.39.10~dfsg-0ubuntu10.49.10~dfsg-0ubuntu10.59.10~dfsg-0ubuntu10.69.10~dfsg-0ubuntu10.79.10~dfsg-0ubuntu10.99.10~dfsg-0ubuntu10.10
9.10~dfsg-0ubuntu10.12
ghostscript
Ubuntu:16.04:LTS
before 9.18~dfsg~0-0ubuntu2.8, plus listed versions
9.16~dfsg~0-0ubuntu39.16~dfsg~0-0ubuntu49.18~dfsg~0-0ubuntu19.18~dfsg~0-0ubuntu29.18~dfsg~0-0ubuntu2.2
Show 4 moreShow less
9.18~dfsg~0-0ubuntu2.39.18~dfsg~0-0ubuntu2.49.18~dfsg~0-0ubuntu2.69.18~dfsg~0-0ubuntu2.7
9.18~dfsg~0-0ubuntu2.8
ghostscript
Ubuntu:18.04:LTS
before 9.22~dfsg+1-0ubuntu1.1, plus listed versions
9.21~dfsg+1-0ubuntu39.22~dfsg+1-0ubuntu1
9.22~dfsg+1-0ubuntu1.1
ghostscript
Ubuntu:14.04:LTS
From an advisory covering 2 CVEs
before 9.10~dfsg-0ubuntu10.12, plus listed versions
9.10~dfsg-0ubuntu29.10~dfsg-0ubuntu39.10~dfsg-0ubuntu49.10~dfsg-0ubuntu59.10~dfsg-0ubuntu6
Show 13 moreShow less
9.10~dfsg-0ubuntu79.10~dfsg-0ubuntu89.10~dfsg-0ubuntu99.10~dfsg-0ubuntu109.10~dfsg-0ubuntu10.19.10~dfsg-0ubuntu10.29.10~dfsg-0ubuntu10.39.10~dfsg-0ubuntu10.49.10~dfsg-0ubuntu10.59.10~dfsg-0ubuntu10.69.10~dfsg-0ubuntu10.79.10~dfsg-0ubuntu10.99.10~dfsg-0ubuntu10.10
9.10~dfsg-0ubuntu10.12
ghostscript
Ubuntu:16.04:LTS
From an advisory covering 2 CVEs
before 9.18~dfsg~0-0ubuntu2.8, plus listed versions
9.16~dfsg~0-0ubuntu39.16~dfsg~0-0ubuntu49.18~dfsg~0-0ubuntu19.18~dfsg~0-0ubuntu29.18~dfsg~0-0ubuntu2.2
Show 4 moreShow less
9.18~dfsg~0-0ubuntu2.39.18~dfsg~0-0ubuntu2.49.18~dfsg~0-0ubuntu2.69.18~dfsg~0-0ubuntu2.7
9.18~dfsg~0-0ubuntu2.8
ghostscript
Ubuntu:18.04:LTS
From an advisory covering 2 CVEs
before 9.22~dfsg+1-0ubuntu1.1, plus listed versions
9.21~dfsg+1-0ubuntu39.22~dfsg+1-0ubuntu1
9.22~dfsg+1-0ubuntu1.1
ghostscript
openSUSE:Tumbleweed
From an advisory covering 44 CVEs
before 9.54.0-2.2
9.54.0-2.2

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-10194 is a high vulnerability (CVSS 7.8) in Artifex Ghostscript, published April 18, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.05%, the 81st percentile. Fixed in ghostscript 9.23-r0.

References

Show 81 moreShow less
MoveEnter Open