VDB-104543 · CVE-2017-9740 · BID 99983

Artifex Ghostscript GhostXPS 9.22 xps/xpsfont.c xps_decode_font_char_imp 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 was found in Artifex Ghostscript GhostXPS 9.22 (Document Processing Software). It has been rated as critical. This issue affects the function xps_decode_font_char_imp of the file xps/xpsfont.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

The xps_decode_font_char_imp function in xps/xpsfont.c in Artifex Ghostscript GhostXPS 9.22 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact via a crafted document.

The bug was discovered 07/25/2017. The weakness was presented 07/26/2017 as confirmed git commit (GIT Repository). It is possible to read the advisory at git.ghostscript.com. The identification of this vulnerability is CVE-2017-9740 since 06/18/2017. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 119132 (GLSA-201811-12 : GPL Ghostscript: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l.

Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.ghostscript.com. A possible mitigation has been published 2 years after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (119132). See 104537, 104538 and 104539 for similar entries.







CPE 2.3info

CPE 2.2info


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


VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 6.4

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
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
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 119132
Nessus Name: GLSA-201811-12 : GPL Ghostscript: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703397
OpenVAS Name: Fedora Update for ghostscript FEDORA-2017-c9b0c406b3
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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


Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: 961b10cdd71403072fb99401a45f3bef6ce53626


06/18/2017 🔍
07/25/2017 +37 days 🔍
07/26/2017 +1 days 🔍
07/26/2017 +0 days 🔍
07/26/2017 +0 days 🔍
07/27/2017 +1 days 🔍
11/24/2018 +485 days 🔍
11/26/2018 +2 days 🔍
12/14/2022 +1479 days 🔍


Vendor: artifex.com

Advisory: git.ghostscript.com
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-9740 (🔍)
SecurityFocus: 99983 - Ghostscript GhostXPS CVE-2017-9740 Heap Buffer Overflow Vulnerability

See also: 🔍


Created: 07/27/2017 08:26 AM
Updated: 12/14/2022 09:33 AM
Changes: 07/27/2017 08:26 AM (74), 11/01/2019 03:41 PM (9), 12/14/2022 09:33 AM (4)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!