National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2016-5688 Detail

Current Description

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.

Source:  MITRE
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 8.1 HIGH
Vector: AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (V3.0 legend)
Impact Score: 5.9
Exploitability Score: 2.2


Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope (S): Unchanged
Confidentiality (C): High
Integrity (I): High
Availability (A): High

CVSS v2.0 Severity and Metrics:

Base Score: 6.8 MEDIUM
Vector: (AV:N/AC:M/Au:N/C:P/I:P/A:P) (V2 legend)
Impact Subscore: 6.4
Exploitability Subscore: 8.6


Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): Partial
Availability (A): Partial
Additional Information:
Allows unauthorized disclosure of information
Allows unauthorized modification
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.openwall.com/lists/oss-security/2016/06/14/5 Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/06/17/3 Third Party Advisory
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html Third Party Advisory
http://www.securityfocus.com/bid/91283 Third Party Advisory VDB Entry
https://blog.fuzzing-project.org/46-Various-invalid-memory-reads-in-ImageMagick-WPG,-DDS,-DCM.html Third Party Advisory
https://github.com/ImageMagick/ImageMagick/commit/aecd0ada163a4d6c769cec178955d5f3e9316f2f Patch Vendor Advisory
https://github.com/ImageMagick/ImageMagick/commit/fc43974d34318c834fbf78570ca1a3764ed8c7d7 Patch Vendor Advisory
https://github.com/ImageMagick/ImageMagick/commits/6.9.4-4 Patch Vendor Advisory
https://github.com/ImageMagick/ImageMagick/commits/7.0.1-5 Patch Vendor Advisory

Technical Details

Vulnerability Type (View All)

  • Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
6.9.4-3
 cpe:2.3:a:imagemagick:imagemagick:7.0.1-0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:imagemagick:imagemagick:7.0.1-1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:imagemagick:imagemagick:7.0.1-2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:imagemagick:imagemagick:7.0.1-3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:imagemagick:imagemagick:7.0.1-4:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

1 change record found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2016-5688
NVD Published Date:
12/13/2016
NVD Last Modified:
12/16/2016