CVE-2017-12671: Use After Free

Published Jul 29, 2017
·
Updated

In ImageMagick 7.0.6-3, a missing NULL assignment was found in coders/png.c, leading to an invalid free in the function RelinquishMagickMemory in MagickCore/memory.c, which allows attackers to cause a denial of service.

Affected Software

3 affected componentsFixes available
debian/imagemagick<=8:6.7.7.10-5+deb9u1, <=8:6.7.7.10-5+deb7u14, <=8:6.8.9.9-5+deb8u9, <=8:6.8.9.9-5+deb8u8, <=8:6.9.7.4+dfsg-13
ImageMagick ImageMagick=7.0.6-3
debian/imagemagick
8:6.9.11.60+dfsg-1.6+deb12u118:6.9.11.60+dfsg-1.6+deb12u158:7.1.1.43+dfsg1-1+deb13u128:7.1.1.43+dfsg1-1+deb13u138:7.1.2.34+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.6+deb12u11Fixed in 8:6.9.11.60+dfsg-1.6+deb12u15Fixed in 8:7.1.1.43+dfsg1-1+deb13u12Fixed in 8:7.1.1.43+dfsg1-1+deb13u13Fixed in 8:7.1.2.34+dfsg1-1

Event History

Aug 7, 2017
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2017-12671?

CVE-2017-12671 has a moderate severity level as it can lead to a denial of service.

2

How do I fix CVE-2017-12671?

To fix CVE-2017-12671, update ImageMagick to version 8:6.9.10.23+dfsg-2.1+deb10u1 or later.

3

Which versions of ImageMagick are affected by CVE-2017-12671?

ImageMagick version 7.0.6-3 is affected by CVE-2017-12671.

4

Can CVE-2017-12671 lead to remote code execution?

CVE-2017-12671 does not directly lead to remote code execution but can lead to a denial of service.

5

Is CVE-2017-12671 relevant for Debian users?

Yes, CVE-2017-12671 is relevant for Debian users, particularly those using vulnerable versions of ImageMagick.

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