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

 

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

Published: January 28, 2017 / Updated: August 10, 2020


Vulnerability identifier: #VU39792
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-9298
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 overflow in the WaveletDenoiseImage function in MagickCore/fx.c in ImageMagick before 6.9.6-4 and 7.x before 7.0.3-6. A remote attacker can use a crafted image. 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-9298

Install update from vendor's website.

ImageMagick - update to 7.0.3-6

External References

Related Security Bulletins