CVE-2019-13454: Divide by Zero

Published Jul 9, 2019
·
Updated

ImageMagick 7.0.1-0 to 7.0.8-54 Q16 allows Division by Zero in RemoveDuplicateLayers in MagickCore/layer.c.

Other sources

ImageMagick 7.0.8-54 Q16 allows Division by Zero in RemoveDuplicateLayers in MagickCore/layer.c.

— Launchpad

ImageMagick is vulnerable to a denial of service, caused by a divide by zero flaw in the RemoveDuplicateLayers function in MagickCore/layer.c. By sending a specially-crafted request, a remote attacker could exploit this vulnerability to cause a denial of service condition.

— IBM

Affected Software

41 affected componentsFixes available
redhat/imagemagick 6.9.10<54
54
redhat/imagemagick 7.0.8<54
54
IBM Data Risk Manager<=2.0.6
ImageMagick ImageMagick=7.0.8-54-q16
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.04
Canonical Ubuntu Linux=19.10
openSUSE Leap=15.0
openSUSE Leap=15.1
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
ImageMagick ImageMagick>=7.0.1-0<=7.0.8-54
alpine/imagemagick>=7.0.1-0<6.9.10.56-r0
6.9.10.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=7.0.1-0<6.9.10.56-r0
6.9.10.56-r0
alpine/imagemagick>=7.0.1-0<6.9.10.56-r0
6.9.10.56-r0
alpine/imagemagick6<6.9.10.55-r0
6.9.10.55-r0
alpine/imagemagick6<6.9.10.55-r0
6.9.10.55-r0
alpine/imagemagick6<6.9.10.55-r0
6.9.10.55-r0
alpine/imagemagick6<6.9.10.55-r0
6.9.10.55-r0
alpine/imagemagick6<6.9.10.55-r0
6.9.10.55-r0
alpine/imagemagick6<6.9.10.55-r0
6.9.10.55-r0
alpine/imagemagick6<6.9.10.55-r0
6.9.10.55-r0
alpine/imagemagick6<6.9.10.55-r0
6.9.10.55-r0
alpine/imagemagick6<6.9.10.55-r0
6.9.10.55-r0
alpine/imagemagick6<6.9.10.55-r0
6.9.10.55-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 54
  2. Upgrade

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

    Fixed in 54
  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

Jul 9, 2019
CVE Published
via MITRE·04:07 PM
Data Sourced
via MITRE·04:07 PM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID for this ImageMagick vulnerability?

The vulnerability ID for this ImageMagick vulnerability is CVE-2019-13454.

2

What is the severity of CVE-2019-13454?

The severity of CVE-2019-13454 is medium with a CVSS score of 6.5.

3

Which software versions are affected by CVE-2019-13454?

The affected software versions include IBM Data Risk Manager 2.0.6, ImageMagick 6.9.10 up to version 6.9.10-54, and ImageMagick 7.0.8 up to version 7.0.8-54.

4

How can I fix CVE-2019-13454 in IBM Data Risk Manager?

To fix CVE-2019-13454 in IBM Data Risk Manager, apply the patch available from IBM Support Fix Central.

5

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

More information about CVE-2019-13454 can be found in the references provided: [Link 1](http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00069.html), [Link 2](http://www.securityfocus.com/bid/109099), [Link 3](https://github.com/ImageMagick/ImageMagick/commit/1ddcf2e4f28029a888cadef2e757509ef5047ad8).

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