ImageMagick 7.0.3-2 magick/attribute.c use after free

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 ImageMagick 7.0.3-2 (Image Processing Software). It has been rated as problematic. Affected by this issue is an unknown functionality of the file magick/attribute.c. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is availability. CVE summarizes:

magick/attribute.c in ImageMagick 7.0.3-2 allows remote attackers to cause a denial of service (use-after-free) via a crafted file.

The bug was discovered 01/18/2017. The weakness was released 01/18/2017 by Marco Grassi (Website). The advisory is shared for download at This vulnerability is handled as CVE-2016-7906 since 09/09/2016. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 95427 (Ubuntu 12.04 LTS / 14.04 LTS / 16.04 LTS / 16.10 : imagemagick vulnerabilities (USN-3142-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196638 (Ubuntu Security Notification for Imagemagick Vulnerabilities (USN-3142-1)).

Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

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






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.3

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔍



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

NVD Base Score: 🔍


Class: Use after free
CWE: CWE-416 / CWE-119

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 95427
Nessus Name: Ubuntu 12.04 LTS / 14.04 LTS / 16.04 LTS / 16.10 : imagemagick vulnerabilities (USN-3142-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703726
OpenVAS Name: Debian Security Advisory DSA 3726-1 (imagemagick - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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


Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍



09/09/2016 🔍
10/02/2016 +23 days 🔍
11/30/2016 +59 days 🔍
12/01/2016 +1 days 🔍
01/18/2017 +48 days 🔍
01/18/2017 +0 days 🔍
01/18/2017 +0 days 🔍
01/19/2017 +1 days 🔍
11/01/2022 +2112 days 🔍



Advisory: USN-3142-1
Researcher: Marco Grassi
Status: Not defined
Confirmation: 🔍

CVE: CVE-2016-7906 (🔍)

SecurityFocus: 93271 - ImageMagick CVE-2016-7906 Use After Free Denial of Service Vulnerability
OSVDB: - CVE-2016-7906 - ImageMagick - Use-After-Free Issue


Created: 01/19/2017 09:45 AM
Updated: 11/01/2022 02:35 PM
Changes: 01/19/2017 09:45 AM (71), 07/24/2020 12:14 PM (9), 11/01/2022 02:33 PM (5), 11/01/2022 02:35 PM (1)
Complete: 🔍
Cache ID: 44:B06:40


No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!