Skip to content
OpenAdvisories
Unscored CVE-2017-14174 EUVD-2017-5684GHSA-x8gv-j25j-89qm

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…

Published Sep 7, 2017 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 imagemagick 8:6.9.9.34+dfsg-3 —
Debian 13 imagemagick 8:6.9.9.34+dfsg-3 —
Debian 12 imagemagick 8:6.9.9.34+dfsg-3 —
Debian 9 imagemagick 8:6.9.7.4+dfsg-11+deb9u10 DLA-2366-1
Debian 8 imagemagick 8:6.8.9.9-5+deb8u16 DLA-1785-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 7 imagemagick 8:6.7.7.10-5+deb7u17 DLA-1131-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS imagemagick 8:6.9.7.4+dfsg-16ubuntu6.2 USN-3681-1
Ubuntu 16.04 LTS imagemagick 8:6.8.9.9-7ubuntu5.11 USN-3681-1
Ubuntu 14.04 LTS imagemagick 8:6.7.7.10-6ubuntu3.11 USN-3681-1
ReleasePackageFixed inAdvisory
SLES 12 SP3 ImageMagick 6.8.8.1-71.20.1 SUSE-SU-2018:0017-1
SLES 12 SP2 ImageMagick 6.8.8.1-71.20.1 SUSE-SU-2018:0017-1
SLES 11 SP4 GraphicsMagick 1.2.5-4.78.28.2 SUSE-SU-2018:0413-1, SUSE-SU-2018:0197-1
SLES 11 SP4 ImageMagick 6.4.3.6-7.78.17.1 SUSE-SU-2018:0043-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Studio Onsite 1.3 GraphicsMagick 1.2.5-4.78.28.2 SUSE-SU-2018:0413-1, SUSE-SU-2018:0197-1
SLES for SAP 12 SP3 ImageMagick 6.8.8.1-71.20.1 SUSE-SU-2018:0017-1
SLES for SAP 12 SP2 ImageMagick 6.8.8.1-71.20.1 SUSE-SU-2018:0017-1
SLES for SAP 11 SP4 ImageMagick 6.4.3.6-7.78.17.1 SUSE-SU-2018:0043-1

Advisories 8

References