ImageMagick up to 6.9.4-3/7.0.1-4 WPG Parser SetPixelIndex/ScaleCharToQuantum/SetPixelIndex 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.
7.5$0-$5k0.00

Summaryinfo

A vulnerability labeled as critical has been found in ImageMagick up to 6.9.4-3/7.0.1-4. This affects the function SetPixelIndex/ScaleCharToQuantum/SetPixelIndex of the component WPG Parser. The manipulation results in memory corruption. This vulnerability is identified as CVE-2016-5688. The attack can be executed remotely. There is not any exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in ImageMagick up to 6.9.4-3/7.0.1-4 (Image Processing Software). It has been classified as critical. Affected is the function SetPixelIndex/ScaleCharToQuantum/SetPixelIndex of the component WPG Parser. 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 confidentiality, integrity, and availability. CVE summarizes:

The WPG parser in ImageMagick before 6.9.4-4 and 7.x before 7.0.1-5, when a memory limit is set, allows remote attackers to have unspecified impact via vectors related to the SetImageExtent return-value check, which trigger (1) a heap-based buffer overflow in the SetPixelIndex function or an invalid write operation in the (2) ScaleCharToQuantum or (3) SetPixelIndex functions.

The bug was discovered 06/17/2016. The weakness was released 12/13/2016 (Website). The advisory is available at openwall.com. This vulnerability is traded as CVE-2016-5688 since 06/16/2016. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 59 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 92981 (openSUSE Security Update : GraphicsMagick (openSUSE-2016-984)), 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 175817 (Debian Security Update for imagemagick (DSA 3652-1)).

Upgrading to version 6.9.4-4 or 7.0.1-5 eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (92981) and SecurityFocus (BID 91283†). Entries connected to this vulnerability are available at VDB-80763, VDB-87737, VDB-87738 and VDB-87739. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.7
VulDB Meta Temp Score: 7.5

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.1
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 92981
Nessus Name: openSUSE Security Update : GraphicsMagick (openSUSE-2016-984)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 803300
OpenVAS Name: SuSE Update for ImageMagick openSUSE-SU-2016:1748-1 (ImageMagick)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: ImageMagick 6.9.4-4/7.0.1-5
Patch: github.com

Timelineinfo

06/16/2016 🔍
06/17/2016 +1 days 🔍
06/17/2016 +0 days 🔍
08/15/2016 +59 days 🔍
08/16/2016 +1 days 🔍
12/13/2016 +119 days 🔍
12/13/2016 +0 days 🔍
12/13/2016 +0 days 🔍
10/06/2022 +2123 days 🔍

Sourcesinfo

Product: imagemagick.org

Advisory: aecd0ada163a4d6c769cec178955d5f3e9316f2f
Status: Not defined
Confirmation: 🔍

CVE: CVE-2016-5688 (🔍)
GCVE (CVE): GCVE-0-2016-5688
GCVE (VulDB): GCVE-100-94146

OVAL: 🔍

SecurityFocus: 91283 - ImageMagick Multiple Security Vulnerabilities

See also: 🔍

Entryinfo

Created: 12/13/2016 19:47
Updated: 10/06/2022 07:17
Changes: 12/13/2016 19:47 (75), 06/25/2019 09:32 (6), 10/06/2022 07:17 (4)
Complete: 🔍
Cache ID: 216:4AF:103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!