ImageMagick 7.0.7 magick/opencl.c GetOpenCLCachedFilesDirectory null pointer dereference

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, which was classified as problematic, was found in ImageMagick 7.0.7 (Image Processing Software). This affects the function GetOpenCLCachedFilesDirectory of the file magick/opencl.c. The manipulation with an unknown input leads to a null pointer dereference vulnerability. CWE is classifying the issue as CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. This is going to have an impact on availability.

The bug was discovered 09/30/2017. The weakness was released 03/01/2018 (Website). The advisory is shared at This vulnerability is uniquely identified as CVE-2017-18209 since 03/01/2018. 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 are known, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 152 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 108935 (openSUSE Security Update : ImageMagick (openSUSE-2018-343)), 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 171004 (SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2018:0857-1)).

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

The vulnerability is also documented in the vulnerability database at Tenable (108935). Entries connected to this vulnerability are available at 105973, 106416, 107134 and 113786.





  • open-source

CPE 2.3info

CPE 2.2info


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

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

NVD Base Score: 8.8
NVD Vector: 🔍



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

NVD Base Score: 🔍


Class: Null pointer dereference
CWE: CWE-476 / CWE-404
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 108935
Nessus Name: openSUSE Security Update : ImageMagick (openSUSE-2018-343)
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: 🔍


09/30/2017 🔍
03/01/2018 +152 days 🔍
03/01/2018 +0 days 🔍
03/01/2018 +0 days 🔍
03/01/2018 +0 days 🔍
03/02/2018 +1 days 🔍
04/06/2018 +35 days 🔍
04/10/2018 +4 days 🔍
02/16/2023 +1773 days 🔍



Advisory: 790
Status: Not defined

CVE: CVE-2017-18209 (🔍)
SecurityFocus: 103218 - ImageMagick CVE-2017-18209 Denial of Service Vulnerability

See also: 🔍


Created: 03/02/2018 07:54 AM
Updated: 02/16/2023 10:30 AM
Changes: 03/02/2018 07:54 AM (74), 01/09/2020 03:52 PM (5), 02/16/2023 10:25 AM (4), 02/16/2023 10:30 AM (1)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!