CVE-2017-12418: High severity ImageMagick vulnerability

Published Aug 4, 2017
·
Updated

ImageMagick 7.0.6-5 has memory leaks in the parse8BIMW and format8BIM functions in coders/meta.c, related to the WriteImage function in MagickCore/constitute.c.

Affected Software

2 affected componentsFixes available
ImageMagick=7.0.6-5
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

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

Event History

Aug 3, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Aug 4, 2017
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Oct 3, 2019
Data Sourced
12:03 AM
Weakness
Data Sourced
via NVD·12:03 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·12:03 AM
Affected Software
Nov 21, 2024
Updated
via NVD·03:09 AM
RemedyAffected Software
Apr 20, 2025
Updated
via NVD·01:37 AM
Affected Software

Frequently Asked Questions

1

What is CVE-2017-12418?

CVE-2017-12418 is a vulnerability in ImageMagick 7.0.6-5 that causes memory leaks in the parse8BIMW and format8BIM functions in coders/meta.c, related to the WriteImage function in MagickCore/constitute.c.

2

How severe is CVE-2017-12418?

CVE-2017-12418 has a severity rating of 7.5 (high).

3

How do I fix CVE-2017-12418?

To fix CVE-2017-12418, update your ImageMagick software to version 8:6.9.7.4+dfsg-16ubuntu2.2 (for Ubuntu), 8:6.9.9.34+dfsg-3 (for upstream), or a higher version.

4

Are there any references for CVE-2017-12418?

Yes, you can find references for CVE-2017-12418 at the following links: [Github issue](https://github.com/ImageMagick/ImageMagick/issues/643), [Gentoo security advisory](https://security.gentoo.org/glsa/201711-07), [Ubuntu security notice](https://usn.ubuntu.com/3681-1/).

5

What is the Common Weakness Enumeration (CWE) for CVE-2017-12418?

The CWE for CVE-2017-12418 is 772.

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