Heap-based buffer overflow in ImageMagick - CVE-2018-16642
Published: October 14, 2018
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within InsertRow in coders/cut.c when processing images. A remote attacker can create a specially crafted image, 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 (Debian package)
imagemagick6 (Alpine package)
Opensuse
How to mitigate CVE-2018-16642
imagemagick6 (Alpine package) - update to 6.9.10.37-r0