CVE-2019-11472: Divide by Zero

Published Apr 23, 2019
·
Updated

ImageMagick is vulnerable to a denial of service, caused by a divide-by-zero error in the ReadXWDImage function in coders/xwd.c. By persuading a victim to open a specially-crafted XWD image file, a remote attacker could exploit this vulnerability to cause the application to crash.

Other sources

ReadXWDImage in coders/xwd.c in the XWD image parsing component of ImageMagick 7.0.8-41 Q16 allows attackers to cause a denial-of-service (divide-by-zero error) by crafting an XWD image file in which the header indicates neither LSB first nor MSB first.

Reference: https://github.com/ImageMagick/ImageMagick/issues/1546

Upstream commit: https://github.com/ImageMagick/ImageMagick6/commit/f663dfb8431c97d95682a2b533cca1c8233d21b4

— Red Hat

Affected Software

32 affected componentsFixes available
redhat/imagemagick 6.9.10<41
41
redhat/imagemagick 7.0.8<41
41
IBM Data Risk Manager<=2.0.6
ImageMagick ImageMagick=7.0.8-41-q16
debian/imagemagick
8:6.9.11.60+dfsg-1.3+deb11u48:6.9.11.60+dfsg-1.3+deb11u58:6.9.11.60+dfsg-1.6+deb12u28:6.9.11.60+dfsg-1.6+deb12u18:7.1.1.43+dfsg1-18:7.1.1.47+dfsg1-1
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick<7.0.8.44-r0
7.0.8.44-r0
alpine/imagemagick6<6.9.10.43-r0
6.9.10.43-r0
alpine/imagemagick6<6.9.10.43-r0
6.9.10.43-r0
alpine/imagemagick6<6.9.10.43-r0
6.9.10.43-r0
alpine/imagemagick6<6.9.10.43-r0
6.9.10.43-r0
alpine/imagemagick6<6.9.10.43-r0
6.9.10.43-r0
alpine/imagemagick6<6.9.10.43-r0
6.9.10.43-r0
alpine/imagemagick6<6.9.10.43-r0
6.9.10.43-r0
alpine/imagemagick6<6.9.10.44-r0
6.9.10.44-r0
alpine/imagemagick6<6.9.10.44-r0
6.9.10.44-r0
alpine/imagemagick6<6.9.10.44-r0
6.9.10.44-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/ImageMagick 6.9.10 to a version that resolves this vulnerability.

    Fixed in 41
  2. Upgrade

    Upgrade redhat/ImageMagick 7.0.8 to a version that resolves this vulnerability.

    Fixed in 41
  3. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.11.60+dfsg-1.3+deb11u4Fixed in 8:6.9.11.60+dfsg-1.3+deb11u5Fixed in 8:6.9.11.60+dfsg-1.6+deb12u2Fixed in 8:6.9.11.60+dfsg-1.6+deb12u1Fixed in 8:7.1.1.43+dfsg1-1Fixed in 8:7.1.1.47+dfsg1-1

Event History

Apr 23, 2019
CVE Published
via MITRE·01:55 PM
Data Sourced
via MITRE·01:55 PM
Description
Data Sourced
via NVD·02:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:29 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2019-11472?

CVE-2019-11472 is a vulnerability in ImageMagick that allows a remote attacker to cause a denial of service by crashing the application.

2

How does CVE-2019-11472 affect ImageMagick?

CVE-2019-11472 affects the XWD image parsing component of ImageMagick 7.0.8-41 Q16.

3

What is the severity of CVE-2019-11472?

CVE-2019-11472 has a severity rating of medium with a score of 6.5 out of 10.

4

Is there a patch available to fix CVE-2019-11472?

Yes, there is a patch available for ImageMagick 7.0.8-41 Q16 to fix CVE-2019-11472.

5

Where can I find more information about CVE-2019-11472?

You can find more information about CVE-2019-11472 on the following references: http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00057.html, http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00001.html, and https://github.com/ImageMagick/ImageMagick/issues/1546.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203