CVE-2017-14174Excessive Iteration in Imagemagick

Severity
6.5MEDIUMNVD
EPSS
0.6%
top 29.27%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 7
Latest updateMay 13

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 2.8 | Impact: 3.6

Affected Packages3 packages

debiandebian/imagemagick< imagemagick 8:6.9.9.34+dfsg-3 (bookworm)
Debianimagemagick/imagemagick< 8:6.9.9.34+dfsg-3+3

Also affects: Debian Linux 10.0, 9.0, Ubuntu Linux 14.04, 16.04, 17.10, 18.04

Patches

🔴Vulnerability Details

2
GHSA
GHSA-x8gv-j25j-89qm: In coders/psd2022-05-13
OSV
CVE-2017-14174: In coders/psd2017-09-07

📋Vendor Advisories

3
Ubuntu
ImageMagick vulnerabilities2018-06-12
Red Hat
ImageMagick: Lack of EOF check in the ReadPSDLayersInternal() function2017-09-07
Debian
CVE-2017-14174: imagemagick - In coders/psd.c in ImageMagick 7.0.7-0 Q16, a DoS in ReadPSDLayersInternal() due...2017

💬Community

2
Bugzilla
CVE-2017-14174 ImageMagick: Lack of EOF check in the ReadPSDLayersInternal() function2017-09-08
Bugzilla
CVE-2017-14060 CVE-2017-14172 CVE-2017-14173 CVE-2017-14174 CVE-2017-14175 CVE-2017-14224 CVE-2017-14248 CVE-2017-14249 CVE-2017-14324 CVE-2017-14325 CVE-2017-14326 CVE-2017-14400 ImageMagick: various2017-09-06