Buffer overflow in ImageMagick - CVE-2016-4564

 

Buffer overflow in ImageMagick - CVE-2016-4564

Published: June 4, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32202
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-4564
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The DrawImage function in MagickCore/draw.c in ImageMagick before 6.9.4-0 and 7.x before 7.0.1-2 makes an incorrect function call in attempting to locate the next token, which allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted file.


Affected software

ImageMagick
imagemagick (Alpine package)

How to mitigate CVE-2016-4564

Install update from vendor's website.

ImageMagick - addressed in versions 6.9.4-0, 7.0.1-2
imagemagick (Alpine package) - update to 6.9.6.8-r0

External References

Related Security Bulletins