CVE-2019-11472: Divide by Zero
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/ImageMagick 6.9.10to a version that resolves this vulnerability.Fixed in 41 - Upgrade
Upgrade
redhat/ImageMagick 7.0.8to a version that resolves this vulnerability.Fixed in 41 - Upgrade
Upgrade
debian/imagemagickto 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
Frequently Asked Questions
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.
How does CVE-2019-11472 affect ImageMagick?
CVE-2019-11472 affects the XWD image parsing component of ImageMagick 7.0.8-41 Q16.
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.
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.
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.