#VU32209 Input validation error in ImageMagick


Published: 2016-12-13 | Updated: 2020-07-28

Vulnerability identifier: #VU32209

Vulnerability risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2016-5691

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
ImageMagick
Client/Desktop applications / Multimedia software

Vendor: ImageMagick.org

Description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact by leveraging lack of validation of (1) pixel.red, (2) pixel.green, and (3) pixel.blue.

Mitigation
Install update from vendor's website.

Vulnerable software versions

ImageMagick: 6.9.0-0 - 6.9.0-10, 6.9.1-0 - 6.9.1-10, 6.9.2-0 - 6.9.2-10, 6.9.3-0 - 6.9.3-10, 6.9.4-0 - 6.9.4-9, 6.9.5-0 - 6.9.5-8, 6.9.6-2 - 6.9.6.6, 6.9.7 - 6.9.7-10, 6.9.8-10, 6.9.9-0, 7.0.0-0, 7.0.1-0 - 7.0.1-6


External links
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
http://blog.fuzzing-project.org/46-Various-invalid-memory-reads-in-ImageMagick-WPG,-DDS,-DCM.html
http://github.com/ImageMagick/ImageMagick/blob/6.9.4-5/ChangeLog
http://github.com/ImageMagick/ImageMagick/blob/7.0.1-7/ChangeLog
http://github.com/ImageMagick/ImageMagick/commit/5511ef530576ed18fd636baa3bb4eda3d667665d


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability