CVE-2019-14981: Divide by Zero

Published Aug 12, 2019
·
Updated

ImageMagick is vulnerable to a denial of service, caused by a divide-by-zero vulnerability in the MeanShiftImage function. By persuading a victim to open a specially-crafted file, a remote attacker could exploit this vulnerability to cause the application to crash.

Other sources

In ImageMagick 7.x before 7.0.8-41 and 6.x before 6.9.10-41, there is a divide-by-zero vulnerability in the MeanShiftImage function. It allows an attacker to cause a denial of service by sending a crafted file.

— Launchpad

Affected Software

39 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>=6.0<6.9.10-41
ImageMagick ImageMagick>=7.0.0-0<7.0.8-41
Debian Debian Linux=8.0
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
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-r0
alpine/imagemagick>=6.0<7.0.8.56-r0
7.0.8.56-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
debian/imagemagick<8:6.9.11.24+dfsg-1
8:6.9.11.24+dfsg-1
debian/imagemagick<8:6.9.11.24+dfsg-1
8:6.9.11.24+dfsg-1
debian/imagemagick<8:6.9.11.24+dfsg-1
8:6.9.11.24+dfsg-1
debian/imagemagick
8:6.8.9.9-5+deb8u188:6.9.7.4+dfsg-11+deb9u98:6.9.10.23+dfsg-2.1+deb10u18:6.9.11.24+dfsg-1

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 alpine/imagemagick to a version that resolves this vulnerability.

    Fixed in 7.0.8.56-r0
  4. Upgrade

    Upgrade alpine/imagemagick6 to a version that resolves this vulnerability.

    Fixed in 6.9.10.43-r0
  5. Upgrade

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

    Fixed in 8:6.9.11.24+dfsg-1
  6. Upgrade

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

    Fixed in 8:6.8.9.9-5+deb8u18Fixed in 8:6.9.7.4+dfsg-11+deb9u9Fixed in 8:6.9.10.23+dfsg-2.1+deb10u1Fixed in 8:6.9.11.24+dfsg-1
  7. Upgrade

    Upgrade ImageMagick 7.x to a version that resolves this vulnerability.

    Fixed in 7.0.8-41
  8. Upgrade

    Upgrade ImageMagick 6.x to a version that resolves this vulnerability.

    Fixed in 6.9.10-41

Event History

Aug 12, 2019
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·10:06 PM
Data Sourced
via MITRE·10:06 PM
Description
Data Sourced
via OSV·11:15 PM
DescriptionSeverityAffected Software
Mar 31, 2020
Data Sourced
via Red Hat·10:35 PM
DescriptionSeverityAffected Software
Aug 19, 2020
Data Sourced
06:58 PM
Weakness
Data Sourced
via NVD·06:58 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·06:58 PM
Affected Software
Aug 13, 2021
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·04:27 AM
RemedyAffected Software
Jun 17, 2026
Updated
via NVD·02:19 AM
Affected Software
Dec 3, 2026
Updated
via OSV·11:32 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2019-14981?

CVE-2019-14981 is a vulnerability in ImageMagick that could allow a remote attacker to cause a denial of service by exploiting a divide-by-zero vulnerability.

2

What is the severity of CVE-2019-14981?

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

3

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

To fix CVE-2019-14981 in IBM Data Risk Manager, apply the patch available at the provided URL.

4

How can I fix CVE-2019-14981 in ImageMagick 6.9.10 on Red Hat?

To fix CVE-2019-14981 in ImageMagick 6.9.10 on Red Hat, update to version 6.9.10-41 or later.

5

How can I fix CVE-2019-14981 in ImageMagick 7.0.8 on Red Hat?

To fix CVE-2019-14981 in ImageMagick 7.0.8 on Red Hat, update to version 7.0.8-41 or later.

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