Out-of-bounds read in ImageMagick - CVE-2019-11598
Published: July 8, 2019
Vulnerability details
The vulnerability allows a remote attacker to access sensitive information or cause a denial of service (DoS) condition.
The vulnerability exists due to a boundary condition in the "WritePNMImage()" function in the "coders/pnm.c" file. A remote attacker can send a specially crafted image file (related to SetGrayscaleImage in MagickCore/quantize.c.), trick the victim into opening it, trigger out-of-bounds read error, get access to sensitive information or cause a DoS condition on the targeted system.
Affected software
Amazon Linux AMI
Debian Linux
Fedora
Ubuntu
Opensuse
imagemagick6 (Alpine package)
perlmagick (Ubuntu package)
libmagickwand5 (Ubuntu package)
libmagickwand-dev (Ubuntu package)
libmagickcore5-extra (Ubuntu package)
libmagickcore5 (Ubuntu package)
libmagickcore-dev (Ubuntu package)
libmagick++5 (Ubuntu package)
libmagick++-dev (Ubuntu package)
imagemagick-common (Ubuntu package)
imagemagick (Ubuntu package)
GraphicsMagick
php70-pecl-imagick
php71-pecl-imagick
php72-pecl-imagick
php54-pecl-imagick
php55-pecl-imagick
php56-pecl-imagick
imagemagick (Debian package)
ImageMagick
How to mitigate CVE-2019-11598
imagemagick6 (Alpine package) - addressed in versions 6.9.10.43-r0, 6.9.10.44-r0, 6.9.10.68-r0
perlmagick (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickwand5 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickwand-dev (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickcore5-extra (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickcore5 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagickcore-dev (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagick++5 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
libmagick++-dev (Ubuntu package) - update to Ubuntu Pro (Infra-only)
imagemagick-common (Ubuntu package) - update to Ubuntu Pro (Infra-only)
imagemagick (Ubuntu package) - update to Ubuntu Pro (Infra-only)
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 (Debian package) - update to 8:6.9.10.23+dfsg-2.1+deb10u1
ImageMagick - update to 6.9.10.68-3.22
External References
Related Security Bulletins
- Denial of service 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