VDB-116568 · CVE-2018-10194 · BID 105178

Artifex Ghostscript up to 9.22 gdevpdts.c set_text_distance PDF Document memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability classified as critical has been found in Artifex Ghostscript up to 9.22 (Document Processing Software). Affected is the function set_text_distance of the file devices/vector/gdevpdts.c. The manipulation as part of a PDF Document leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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.

The bug was discovered 04/19/2018. The weakness was presented 04/18/2018 (Website). The advisory is shared for download at git.ghostscript.com. This vulnerability is traded as CVE-2018-10194 since 04/18/2018. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 109416 (Fedora 26 : ghostscript (2018-226dac231f)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 256499 (CentOS Security Update for ghostscript (CESA-2018:2918)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (109416).







CPE 2.3info

CPE 2.2info


VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍


VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.4

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Memory corruption
CWE: CWE-119

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 109416
Nessus Name: Fedora 26 : ghostscript (2018-226dac231f)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 53849
OpenVAS Name: Fedora Update for ghostscript FEDORA-2018-226dac231f
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
Exposure Time: 🔍

Patch: 39b1e54b2968620723bf32e96764c88797714879


04/18/2018 🔍
04/18/2018 +0 days 🔍
04/18/2018 +0 days 🔍
04/19/2018 +1 days 🔍
04/19/2018 +0 days 🔍
04/29/2018 +10 days 🔍
04/30/2018 +1 days 🔍
08/28/2018 +120 days 🔍
02/28/2023 +1645 days 🔍


Vendor: artifex.com

Advisory: FEDORA-2018-226dac231f
Status: Confirmed

CVE: CVE-2018-10194 (🔍)
SecurityTracker: 1040729
SecurityFocus: 105178 - Ghostscript 'shading_param' Remote Code Execution Vulnerability


Created: 04/19/2018 08:45 AM
Updated: 02/28/2023 01:34 PM
Changes: 04/19/2018 08:45 AM (77), 01/27/2020 05:01 PM (5), 02/28/2023 01:28 PM (7), 02/28/2023 01:34 PM (1)
Complete: 🔍
Cache ID: 44:FB2:40


No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!