CVE-2018-16643: Medium severity ImageMagick ImageMagick vulnerability

Published Sep 6, 2018
·
Updated

Last updated 24 July 2024

Other sources

The functions ReadDCMImage in coders/dcm.c, ReadPWPImage in coders/pwp.c, ReadCALSImage in coders/cals.c, and ReadPICTImage in coders/pict.c in ImageMagick 7.0.8-4 do not check the return value of the fputc function, which allows remote attackers to cause a denial of service via a crafted image file.

— Launchpad

Affected Software

18 affected componentsFixes available
ImageMagick ImageMagick=7.0.8-4
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Debian Debian Linux=8.0
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/imagemagick6<6.9.10.37-r0
6.9.10.37-r0
alpine/imagemagick6<6.9.10.37-r0
6.9.10.37-r0
alpine/imagemagick6<6.9.10.37-r0
6.9.10.37-r0
alpine/imagemagick6<6.9.10.37-r0
6.9.10.37-r0
alpine/imagemagick6<6.9.10.37-r0
6.9.10.37-r0
alpine/imagemagick6<6.9.10.37-r0
6.9.10.37-r0
alpine/imagemagick6<6.9.10.37-r0
6.9.10.37-r0
alpine/imagemagick6<6.9.10.39-r0
6.9.10.39-r0
alpine/imagemagick6<6.9.10.39-r0
6.9.10.39-r0
alpine/imagemagick6<6.9.10.39-r0
6.9.10.39-r0
redhat/imagemagick 6.9.10<6
6
redhat/imagemagick 7.0.8<6
6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. 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
  2. Upgrade

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

    Fixed in 6.9.10.37-r0
  3. Upgrade

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

    Fixed in 6.9.10.39-r0
  4. Upgrade

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

    Fixed in 6
  5. Upgrade

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

    Fixed in 6

Event History

Sep 6, 2018
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Data Sourced
via OSV·10:29 PM
DescriptionSeverityAffected Software
Sep 7, 2018
Data Sourced
via Red Hat·05:24 PM
DescriptionSeverityAffected Software
Sep 8, 2020
Data Sourced
12:15 AM
Weakness
Data Sourced
via NVD·12:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
12:15 AM
Affected Software
Nov 21, 2024
Updated
via NVD·03:53 AM
RemedyAffected Software
Jun 17, 2026
Updated
via NVD·01:44 AM
Affected Software

Frequently Asked Questions

1

What is CVE-2018-16643?

CVE-2018-16643 is a vulnerability in ImageMagick that allows remote attackers to cause a denial of service via a crafted image file.

2

Which functions are affected by CVE-2018-16643?

The functions affected by CVE-2018-16643 are ReadDCMImage in coders/dcm.c, ReadPWPImage in coders/pwp.c, ReadCALSImage in coders/cals.c, and ReadPICTImage in coders/pict.c in ImageMagick 7.0.8-4.

3

What is the severity of CVE-2018-16643?

CVE-2018-16643 has a severity rating of 6.5 (medium).

4

How can I fix CVE-2018-16643?

To fix CVE-2018-16643, update ImageMagick to version 8:6.9.10.8+dfsg-1 or later.

5

Where can I find more information about CVE-2018-16643?

You can find more information about CVE-2018-16643 at the following references: [link1], [link2], [link3].

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