CVE-2016-5688

HIGH
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

http://www.openwall.com/lists/oss-security/2016/06/14/5

http://www.openwall.com/lists/oss-security/2016/06/17/3

http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html

http://www.securityfocus.com/bid/91283

https://blog.fuzzing-project.org/46-Various-invalid-memory-reads-in-ImageMagick-WPG,-DDS,-DCM.html

https://github.com/ImageMagick/ImageMagick/commit/aecd0ada163a4d6c769cec178955d5f3e9316f2f

https://github.com/ImageMagick/ImageMagick/commit/fc43974d34318c834fbf78570ca1a3764ed8c7d7

https://github.com/ImageMagick/ImageMagick/commits/6.9.4-4

https://github.com/ImageMagick/ImageMagick/commits/7.0.1-5

Details

Source: MITRE

Published: 2016-12-13

Updated: 2016-12-16

Type: CWE-119

Risk Information

CVSS v2

Base Score: 6.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 8.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 2.2

Severity: HIGH

Tenable Plugins

View all (13 total)

IDNameProductFamilySeverity
135519EulerOS 2.0 SP3 : ImageMagick (EulerOS-SA-2020-1390)NessusHuawei Local Security Checks
critical
131846EulerOS 2.0 SP2 : ImageMagick (EulerOS-SA-2019-2354)NessusHuawei Local Security Checks
critical
95053Ubuntu 12.04 LTS / 14.04 LTS / 16.04 LTS / 16.10 : imagemagick vulnerabilities (USN-3131-1)NessusUbuntu Local Security Checks
critical
94305openSUSE Security Update : GraphicsMagick (openSUSE-2016-1230)NessusSuSE Local Security Checks
critical
94304openSUSE Security Update : GraphicsMagick (openSUSE-2016-1229)NessusSuSE Local Security Checks
critical
93179SUSE SLED12 / SLES12 Security Update : ImageMagick (SUSE-SU-2016:1784-1)NessusSuSE Local Security Checks
critical
93178SUSE SLES11 Security Update : ImageMagick (SUSE-SU-2016:1782-1)NessusSuSE Local Security Checks
critical
93115Debian DSA-3652-1 : imagemagick - security updateNessusDebian Local Security Checks
critical
92981openSUSE Security Update : GraphicsMagick (openSUSE-2016-984)NessusSuSE Local Security Checks
critical
92487openSUSE Security Update : ImageMagick (openSUSE-2016-883)NessusSuSE Local Security Checks
critical
91967openSUSE Security Update : ImageMagick (openSUSE-2016-840)NessusSuSE Local Security Checks
critical
91945openSUSE Security Update : GraphicsMagick (openSUSE-2016-825)NessusSuSE Local Security Checks
critical
91818ImageMagick 6.x < 6.9.4-3 / 7.x < 7.0.1-4 Multiple VulnerabilitiesNessusWindows
critical