CVE-2017-14172: Medium severity ImageMagick ImageMagick vulnerability

Published Sep 7, 2017
·
Updated

In coders/ps.c in ImageMagick 7.0.7-0 Q16, a DoS in ReadPSImage() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted PSD file, which claims a large "extent" field in the header but does not contain sufficient backing data, is provided, the loop over "length" would consume huge CPU resources, since there is no EOF check inside the loop.

Affected Software

8 affected componentsFixes available
ImageMagick ImageMagick=7.0.7-0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Canonical Ubuntu Linux=18.04
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/imagemagick
8:6.9.11.60+dfsg-1.3+deb11u48:6.9.11.60+dfsg-1.3+deb11u38: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+deb11u3Fixed 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

Sep 7, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·06:00 AM
Data Sourced
via MITRE·06:00 AM
Description
Oct 15, 2020
Data Sourced
04:02 PM
Weakness
Data Sourced
via NVD·04:02 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
04:02 PM
Affected Software
Event
04:02 PM
Nov 21, 2024
Updated
via NVD·03:12 AM
RemedyAffected Software
Apr 20, 2025
Updated
via NVD·01:37 AM
Affected Software

Frequently Asked Questions

1

What is CVE-2017-14172?

CVE-2017-14172 is a vulnerability in ImageMagick version 7.0.7-0 Q16 that allows for a denial-of-service (DoS) attack due to a lack of an EOF check.

2

How severe is the CVE-2017-14172 vulnerability?

The severity of CVE-2017-14172 is high with a severity value of 6.5.

3

How can I fix the CVE-2017-14172 vulnerability?

To fix the CVE-2017-14172 vulnerability, update ImageMagick to version 8:6.9.7.4+dfsg-16ubuntu2.2 (for Ubuntu), 8:6.9.7.4+dfsg-16ubuntu6.2 (for Ubuntu), 8:6.7.7.10-6ubuntu3.11 (for Ubuntu), 8:6.9.9.34+dfsg-3 (for Ubuntu), 8:6.8.9.9-7ubuntu5.11 (for Ubuntu), 7.0.7-0 (for ImageMagick), or apply the appropriate remedy for your specific system or distribution.

4

What is the Common Weakness Enumeration (CWE) of CVE-2017-14172?

The CWE of CVE-2017-14172 is CWE-834.

5

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

More information about CVE-2017-14172 can be found at the following references: [GitHub commit](https://github.com/ImageMagick/ImageMagick/commit/bdbbb13f1fe9b7e2465502c500561720f7456aac), [GitHub issue](https://github.com/ImageMagick/ImageMagick/issues/715), [Debian LTS Announcement](https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html).

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