CVE-2017-12877: Use After Free

Published Aug 28, 2017
·
Updated

Last updated 24 July 2024

Other sources

Use-after-free vulnerability in the DestroyImage function in image.c i ...

Debian

Affected Software

9 affected componentsFixes available
ImageMagick ImageMagick<6.9.9-6
ImageMagick ImageMagick>=7.0.0-0<7.0.6-6
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Canonical Ubuntu Linux=18.04
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

Event History

Aug 28, 2017
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:27 PM
Description
Sep 15, 2024
Data Sourced
via Ubuntu·10:46 PM
RemedyDescriptionSeverityAffected Software
Apr 12, 2025
Data Sourced
via Debian·12:12 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-12877?

The severity of CVE-2017-12877 is medium with a severity value of 6.5.

2

How does CVE-2017-12877 affect ImageMagick?

CVE-2017-12877 affects ImageMagick versions before 7.0.6-6.

3

How can remote attackers exploit CVE-2017-12877?

Remote attackers can exploit CVE-2017-12877 by using a crafted file to cause a denial of service.

4

Is there a fix available for CVE-2017-12877 in Ubuntu?

Yes, Ubuntu provides fixes for CVE-2017-12877 with the following versions: 8:6.9.7.4+dfsg-16ubuntu2.2, 8:6.9.7.4+dfsg-16ubuntu6.2, 8:6.9.9.34+dfsg-3, 8:6.8.9.9-7ubuntu5.11, and 8:6.7.7.10-6ubuntu3.11.

5

Where can I find more information about CVE-2017-12877?

You can find more information about CVE-2017-12877 at the following references: http://www.openwall.com/lists/oss-security/2017/08/16/2, https://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/, and https://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890.

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