Buffer over-read in ImageMagick - CVE-2018-16413
Published: October 7, 2018
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a heap-based buffer over-read in the MagickCore/quantum-private.h in PushShortPixel() function when called from the coders/psd.c ParseImageResourceBlocks() function. A remote attacker can perform a denial of service attack with a specially crafted image file.
Affected software
Debian Linux
Ubuntu
Opensuse
imagemagick6 (Alpine package)
libmagickcore-dev (Ubuntu package)
imagemagick (Ubuntu package)
libmagickwand5 (Ubuntu package)
libmagickcore5 (Ubuntu package)
libmagickwand-dev (Ubuntu package)
perlmagick (Ubuntu package)
libmagickcore5-extra (Ubuntu package)
libmagick++-dev (Ubuntu package)
libmagick++5 (Ubuntu package)
imagemagick (Debian package)
libmagickcore-6.q16-2-extra (Ubuntu package)
libmagick++-6.q16-5v5 (Ubuntu package)
imagemagick-6.q16 (Ubuntu package)
libmagickcore-6.q16-2 (Ubuntu package)
libmagickcore-6.q16-3 (Ubuntu package)
libmagick++-6.q16-7 (Ubuntu package)
libmagickcore-6.q16-3-extra (Ubuntu package)
libmagick++-6.q16-8 (Ubuntu package)
libmagickcore-6.q16-6-extra (Ubuntu package)
libmagickcore-6.q16-6 (Ubuntu package)
How to mitigate CVE-2018-16413
imagemagick6 (Alpine package) - update to 6.9.10.37-r0
libmagickcore-dev (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm8
imagemagick (Ubuntu package) - addressed in versions 8:6.7.7.10-6ubuntu3.13+esm8, 8:6.8.9.9-7ubuntu5.14, 8:6.9.7.4+dfsg-16ubuntu6.7, 8:6.9.10.8+dfsg-1ubuntu2.2, 8:6.9.10.14+dfsg-7ubuntu2.2
libmagickwand5 (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm8
libmagickcore5 (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm8
libmagickwand-dev (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm8
perlmagick (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm8
libmagickcore5-extra (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm8
libmagick++-dev (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm8
libmagick++5 (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm8
imagemagick (Debian package) - update to 8:6.8.9.9-5+deb8u14
libmagickcore-6.q16-2-extra (Ubuntu package) - update to 8:6.8.9.9-7ubuntu5.14
libmagick++-6.q16-5v5 (Ubuntu package) - update to 8:6.8.9.9-7ubuntu5.14
imagemagick-6.q16 (Ubuntu package) - addressed in versions 8:6.8.9.9-7ubuntu5.14, 8:6.9.7.4+dfsg-16ubuntu6.7, 8:6.9.10.8+dfsg-1ubuntu2.2, 8:6.9.10.14+dfsg-7ubuntu2.2
libmagickcore-6.q16-2 (Ubuntu package) - update to 8:6.8.9.9-7ubuntu5.14
libmagickcore-6.q16-3 (Ubuntu package) - update to 8:6.9.7.4+dfsg-16ubuntu6.7
libmagick++-6.q16-7 (Ubuntu package) - update to 8:6.9.7.4+dfsg-16ubuntu6.7
libmagickcore-6.q16-3-extra (Ubuntu package) - update to 8:6.9.7.4+dfsg-16ubuntu6.7
libmagick++-6.q16-8 (Ubuntu package) - addressed in versions 8:6.9.10.8+dfsg-1ubuntu2.2, 8:6.9.10.14+dfsg-7ubuntu2.2
libmagickcore-6.q16-6-extra (Ubuntu package) - addressed in versions 8:6.9.10.8+dfsg-1ubuntu2.2, 8:6.9.10.14+dfsg-7ubuntu2.2
libmagickcore-6.q16-6 (Ubuntu package) - addressed in versions 8:6.9.10.8+dfsg-1ubuntu2.2, 8:6.9.10.14+dfsg-7ubuntu2.2
External References
Related Security Bulletins
- Denial of service in ImageMagick
- Debian update for imagemagick
- OpenSUSE Linux update for ImageMagick
- OpenSUSE Linux update for ImageMagick
- Buffer over-read in imagemagick6 (Alpine package)
- OpenSUSE Linux update for ImageMagick
- Ubuntu update for imagemagick
- Ubuntu update for imagemagick
- Debian update for imagemagick