Out-of-bounds read in ImageMagick - CVE-2016-6491

 

Out-of-bounds read in ImageMagick - CVE-2016-6491

Published: December 13, 2016 / Updated: July 28, 2020


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

Vulnerability details

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

Buffer overflow in the Get8BIMProperty function in MagickCore/property.c in ImageMagick before 6.9.5-4 and 7.x before 7.0.2-6 allows remote attackers to cause a denial of service (out-of-bounds read, memory leak, and crash) via a crafted image.


Affected software

ImageMagick
Gentoo Linux
imagemagick (Alpine package)

How to mitigate CVE-2016-6491

Install update from vendor's website.

ImageMagick - addressed in versions 6.9.5-4, 7.0.2-6
imagemagick (Alpine package) - update to 6.9.6.8-r0

External References

Related Security Bulletins