Excessive Iteration Affecting imagemagick package, versions <8:6.9.7.4+dfsg-11+deb9u10


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Availability High

    Threat Intelligence

    EPSS 0.72% (81st percentile)
Expand this section
NVD
6.5 medium
Expand this section
Red Hat
3.3 low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DEBIAN9-IMAGEMAGICK-401859
  • published 7 Sep 2017
  • disclosed 7 Sep 2017

How to fix?

Upgrade Debian:9 imagemagick to version 8:6.9.7.4+dfsg-11+deb9u10 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream imagemagick package and not the imagemagick package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

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.