Out-of-bounds read in ImageMagick - CVE-2019-11597
Published: April 29, 2019 / Updated: July 28, 2020
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to heap-based buffer over-read in the function WriteTIFFImage of coders/tiff.c, which allows an attacker to cause a denial of service or possibly information disclosure via a crafted image file. A remote attacker can perform a denial of service attack.
Affected software
Amazon Linux AMI
Debian Linux
Fedora
Ubuntu
Opensuse
imagemagick6 (Alpine package)
libmagickwand-dev (Ubuntu package)
libmagickcore5-extra (Ubuntu package)
libmagickcore5 (Ubuntu package)
libmagickwand5 (Ubuntu package)
libmagickcore-dev (Ubuntu package)
libmagick++5 (Ubuntu package)
libmagick++-dev (Ubuntu package)
imagemagick (Ubuntu package)
imagemagick-common (Ubuntu package)
perlmagick (Ubuntu package)
imagemagick-6.q16 (Ubuntu package)
libmagickcore-6.q16-2 (Ubuntu package)
libmagick++-6.q16-5v5 (Ubuntu package)
libmagickcore-6.q16-2-extra (Ubuntu package)
libmagick++-6.q16-7 (Ubuntu package)
libmagickcore-6.q16-3 (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)
GraphicsMagick
php70-pecl-imagick
php71-pecl-imagick
php72-pecl-imagick
php54-pecl-imagick
php55-pecl-imagick
php56-pecl-imagick
ImageMagick
imagemagick (Debian package)
How to mitigate CVE-2019-11597
libmagickwand-dev (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm9
libmagickcore5-extra (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm9
libmagickcore5 (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm9
libmagickwand5 (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm9
libmagickcore-dev (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm9
libmagick++5 (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm9
libmagick++-dev (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm9
imagemagick (Ubuntu package) - addressed in versions 8:6.7.7.10-6ubuntu3.13+esm9, 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
imagemagick-common (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm9
perlmagick (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.13+esm9
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
libmagick++-6.q16-5v5 (Ubuntu package) - update to 8:6.8.9.9-7ubuntu5.14
libmagickcore-6.q16-2-extra (Ubuntu package) - update to 8:6.8.9.9-7ubuntu5.14
libmagick++-6.q16-7 (Ubuntu package) - update to 8:6.9.7.4+dfsg-16ubuntu6.7
libmagickcore-6.q16-3 (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
GraphicsMagick - addressed in versions 1.3.34-1.el7, 1.3.34-1.el8
php70-pecl-imagick - update to 3.4.4-1.7
php71-pecl-imagick - update to 3.4.4-2.8
php72-pecl-imagick - update to 3.4.4-2.10
php54-pecl-imagick - update to 3.4.4-2.11
php55-pecl-imagick - update to 3.4.4-2.15
php56-pecl-imagick - update to 3.4.4-2.16
ImageMagick - update to 6.9.10.68-3.22
imagemagick (Debian package) - update to 8:6.9.10.23+dfsg-2.1+deb10u1
External References
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00043.html
- http://www.securityfocus.com/bid/108102
- https://github.com/ImageMagick/ImageMagick/issues/1555
- https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html
- https://usn.ubuntu.com/4034-1/
- https://www.debian.org/security/2020/dsa-4712
Related Security Bulletins
- Out-of-bounds read in ImageMagick
- OpenSUSE Linux update for ImageMagick
- OpenSUSE Linux update for ImageMagick
- Out-of-bounds read in imagemagick6 (Alpine package)
- Debian update for imagemagick
- Amazon Linux AMI update for php72-pecl-imagick
- Amazon Linux AMI update for php71-pecl-imagick
- Amazon Linux AMI update for php70-pecl-imagick
- Amazon Linux AMI update for php55-pecl-imagick
- Amazon Linux AMI update for php56-pecl-imagick
- Amazon Linux AMI update for php54-pecl-imagick
- Amazon Linux AMI update for ImageMagick
- Ubuntu update for imagemagick
- Fedora EPEL 8 update for GraphicsMagick
- Fedora EPEL 7 update for GraphicsMagick
- Ubuntu update for imagemagick