Artifex Ghostscript 9.20 base/gxht_thresh.c fill_threshhold_buffer 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 has been found in Artifex Ghostscript 9.20 (Document Processing Software) and classified as critical. Affected by this vulnerability is the function fill_threshhold_buffer of the file base/gxht_thresh.c. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

The fill_threshhold_buffer function in base/gxht_thresh.c in Artifex Software, Inc. Ghostscript 9.20 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document.

The bug was discovered 09/02/2016. The weakness was published 04/03/2017 (Website). The advisory is shared at This vulnerability is known as CVE-2016-10317 since 04/03/2017. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 213 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 106745 (SUSE SLED12 / SLES12 Security Update : ghostscript (SUSE-SU-2018:0407-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 277699 (Fedora Security Update for ghostscript (FEDORA-2017-a606d224a5)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 12 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (106745) and SecurityFocus (BID 97410†).







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

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 106745
Nessus Name: SUSE SLED12 / SLES12 Security Update : ghostscript (SUSE-SU-2018:0407-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 867773
OpenVAS Name: Fedora Update for ghostscript FEDORA-2017-c85c0e5637
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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


Recommended: Upgrade
Status: 🔍

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


09/02/2016 🔍
04/03/2017 +213 days 🔍
04/03/2017 +0 days 🔍
04/03/2017 +0 days 🔍
04/03/2017 +0 days 🔍
04/04/2017 +1 days 🔍
02/09/2018 +311 days 🔍
02/12/2018 +3 days 🔍
11/27/2022 +1749 days 🔍



Advisory: USN-3636-1
Status: Confirmed

CVE: CVE-2016-10317 (🔍)
SecurityFocus: 97410 - Ghostscript 'base/gxht_thresh.c' Heap Buffer Overflow Vulnerability
OSVDB: - CVE-2016-10317 - Ghostscript - Buffer Overflow Issue


Created: 04/04/2017 08:51 AM
Updated: 11/27/2022 06:05 AM
Changes: 04/04/2017 08:51 AM (76), 08/25/2020 03:50 PM (6), 11/27/2022 06:05 AM (4)
Complete: 🔍
Cache ID: 35:119:40


No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!