Heap-based buffer overflow in ImageMagick - CVE-2016-9773

 

Heap-based buffer overflow in ImageMagick - CVE-2016-9773

Published: February 17, 2017 / Updated: August 10, 2020


Vulnerability identifier: #VU39642
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-9773
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the IsPixelGray function in MagickCore/pixel-accessor.h in ImageMagick 7.0.3.8. A remote attacker can use a crafted image file. NOTE to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

ImageMagick

How to mitigate CVE-2016-9773

Install update from vendor's website.


External References

Related Security Bulletins