ImageMagick 7.0.6-6 coders/png.c WriteOneJNGImage 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 problematic has been found in ImageMagick 7.0.6-6 (Image Processing Software). This affects the function WriteOneJNGImage of the file coders/png.c. The manipulation with an unknown input 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 availability. The summary by CVE is:

In ImageMagick 7.0.6-6, a memory leak vulnerability was found in the function WriteOneJNGImage in coders/png.c, which allows attackers to cause a denial of service (WriteJNGImage memory consumption) via a crafted file.

The bug was discovered 08/11/2017. The weakness was released 08/22/2017 by Venustech with Adlab of Venustech (GitHub Repository). It is possible to read the advisory at This vulnerability is uniquely identified as CVE-2017-13059 since 08/22/2017. It is possible to initiate the attack remotely. No form of authentication is needed for 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 11 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 104515 (GLSA-201711-07 : ImageMagick: 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. The commercial vulnerability scanner Qualys is able to test this issue with plugin 170738 (SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2018:0349-1)).

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

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






CPE 2.3info

CPE 2.2info


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


VulDB Meta Base Score: 5.4
VulDB Meta Temp Score: 5.1

VulDB Base Score: 4.3
VulDB Temp Score: 3.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 6.5
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: 104515
Nessus Name: GLSA-201711-07 : ImageMagick: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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


Recommended: Upgrade
Status: 🔍

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


08/11/2017 🔍
08/22/2017 +11 days 🔍
08/22/2017 +0 days 🔍
08/22/2017 +0 days 🔍
08/22/2017 +0 days 🔍
08/23/2017 +1 days 🔍
11/11/2017 +80 days 🔍
11/13/2017 +2 days 🔍
12/16/2022 +1859 days 🔍



Advisory: 667
Researcher: Venustech
Organization: Adlab of Venustech
Status: Not defined
Confirmation: 🔍

CVE: CVE-2017-13059 (🔍)
SecurityFocus: 100457 - ImageMagick CVE-2017-13059 Denial of Service Vulnerability


Created: 08/23/2017 09:14 AM
Updated: 12/16/2022 10:02 AM
Changes: 08/23/2017 09:14 AM (69), 11/09/2019 03:57 PM (13), 12/16/2022 09:58 AM (4), 12/16/2022 10:02 AM (1)
Complete: 🔍
Cache ID: 35:2DC:40


No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!