CVE-2018-18024: Medium severity ImageMagick ImageMagick vulnerability

Published Oct 7, 2018
·
Updated

A flaw was found in ImageMagick 7.0.8-13 Q16, there is an infinite loop in the ReadBMPImage function of the coders/bmp.c file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.

References: https://github.com/ImageMagick/ImageMagick/issues/1337

Upstream Patches: https://github.com/ImageMagick/ImageMagick/commit/948f1c86d649a29df08a38d2ff8b91cdf3e92b82 https://github.com/ImageMagick/ImageMagick6/commit/b268ce7a59440972f4476b9fd98104b6a836d971

Affected Software

17 affected componentsFixes available
ImageMagick ImageMagick=7.0.8-13-q16
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 7.0.8<13
13
redhat/imagemagick 6.9.10<13
13
debian/imagemagick<8:6.9.10.14+dfsg-1
8:6.9.10.14+dfsg-1
debian/imagemagick<8:6.9.10.14+dfsg-1
8:6.9.10.14+dfsg-1
debian/imagemagick<8:6.9.10.14+dfsg-1
8:6.9.10.14+dfsg-1
debian/imagemagick
8:6.9.7.4+dfsg-11+deb9u98:6.9.10.14+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 6.9.10.37-r0
  2. Upgrade

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

    Fixed in 6.9.10.39-r0
  3. Upgrade

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

    Fixed in 13
  4. Upgrade

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

    Fixed in 13
  5. Upgrade

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

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

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

    Fixed in 8:6.9.7.4+dfsg-11+deb9u9Fixed in 8:6.9.10.14+dfsg-1
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 948f1c86d649a29df08a38d2ff8b91cdf3e92b82
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch b268ce7a59440972f4476b9fd98104b6a836d971

Event History

Oct 7, 2018
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·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
via OSV·06:29 PM
DescriptionSeverityAffected Software
Oct 8, 2018
Data Sourced
via Red Hat·09:05 PM
DescriptionSeverityAffected Software
Aug 19, 2020
Data Sourced
02:15 AM
Weakness
Data Sourced
via NVD·02:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·02:15 AM
Affected Software
Nov 21, 2024
Updated
via NVD·03:55 AM
RemedyAffected Software
Jun 17, 2026
Updated
via NVD·01:46 AM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2018-18024?

CVE-2018-18024 is a vulnerability in ImageMagick 7.0.8-13 Q16 that allows remote attackers to cause a denial of service via a crafted bmp file.

2

How severe is CVE-2018-18024?

CVE-2018-18024 has a severity score of 6.5, which is considered medium severity.

3

How does CVE-2018-18024 impact ImageMagick?

CVE-2018-18024 impacts ImageMagick 7.0.8-13 Q16, causing an infinite loop in the ReadBMPImage function of the coders/bmp.c file.

4

Which software versions are affected by CVE-2018-18024?

CVE-2018-18024 affects ImageMagick 7.0.8-13 Q16 and specific versions of ImageMagick on Ubuntu and Debian.

5

How can I fix CVE-2018-18024?

To fix CVE-2018-18024, update ImageMagick to a patched version provided by the vendor.

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