Buffer overflow in ImageMagick - CVE-2018-16645
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 in ReadBMPImage() function in coders/bmp.c and in ReadDIBImage() function in coders/dib.c. A remote attacker can create a specially crafted image, pass it to the affected application and trigger application crash due to memory allocation error.
Affected software
imagemagick (Debian package)
imagemagick6 (Alpine package)
SUSE Linux
Opensuse
How to mitigate CVE-2018-16645
imagemagick (Debian package) - update to 8:6.9.7.4+dfsg-11+deb9u6
imagemagick6 (Alpine package) - update to 6.9.10.37-r0