Vulnerabilities · 2017 · Imagemagick
CVE-2017-14174
Imagemagick vulnerability
In coders/psd.c in ImageMagick 7.0.7-0 Q16, a DoS in ReadPSDLayersInternal() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted PSD file, which claims a large "length" 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 products
Imagemagick, Ubuntu Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Imagemagick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ImageMagick/ImageMagick/commit/04a567494786d5bb50894fc8bb8fea0cf496bea8 · Patch
- github.com/ImageMagick/ImageMagick/issues/714 · Exploit
- github.com/ImageMagick/ImageMagick/commit/f68a98a9d385838a1c73ec960a14102949940a64 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/05/msg00015.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2020/09/msg00007.html · Third Party Advisory
- security.gentoo.org/glsa/201711-07 · Third Party Advisory
- usn.ubuntu.com/3681-1/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-14174
- cve.org/CVERecord?id=CVE-2017-14174
More vulnerabilities in Imagemagick products
CVE-2026-23876CVE-2026-23874CVE-2026-22770CVE-2025-69204CVE-2025-68950CVE-2025-68618CVE-2025-68469CVE-2025-66628All 670
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.