CVE-2017-14172

imagemagick: 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 cau...

CVE-2017-14172 is fixed in 21 products on 1 platform, first by imagemagick 8:6.9.7.4+dfsg-16ubuntu6.2, released May 31, 2018. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0219
82nd percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
imagemagick · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 imagemagick 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
imagemagick-6-common · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 imagemagick-6-common 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
imagemagick-6.q16 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 imagemagick-6.q16 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
imagemagick-6.q16hdri · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 imagemagick-6.q16hdri 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
imagemagick-common · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 imagemagick-common 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libimage-magick-perl · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libimage-magick-perl 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libimage-magick-q16-perl · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libimage-magick-q16-perl 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libimage-magick-q16hdri-perl · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libimage-magick-q16hdri-perl 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libmagick++-6-headers · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libmagick++-6-headers 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libmagick++-6.q16-7 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libmagick++-6.q16-7 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libmagick++-6.q16hdri-7 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libmagick++-6.q16hdri-7 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libmagickcore-6-arch-config · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libmagickcore-6-arch-config 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libmagickcore-6-headers · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libmagickcore-6-headers 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libmagickcore-6.q16-3 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libmagickcore-6.q16-3 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libmagickcore-6.q16-3-extra · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libmagickcore-6.q16-3-extra 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libmagickcore-6.q16hdri-3 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libmagickcore-6.q16hdri-3 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libmagickcore-6.q16hdri-3-extra · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libmagickcore-6.q16hdri-3-extra 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libmagickwand-6-headers · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libmagickwand-6-headers 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libmagickwand-6.q16-3 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libmagickwand-6.q16-3 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
libmagickwand-6.q16hdri-3 · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 libmagickwand-6.q16hdri-3 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018
perlmagick · Ubuntu 18.04.6 LTS (bionic) 8:6.9.7.4+dfsg-16ubuntu6.2 perlmagick 8:6.9.7.4+dfsg-16ubuntu6.2 May 31, 2018

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.