Loop with Unreachable Exit Condition ('Infinite Loop') Affecting imagemagick package, versions <8:6.9.7.4+dfsg-4


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.45% (73rd percentile)

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 IDSNYK-ECHOLATEST-IMAGEMAGICK-17965555
  • published14 Jul 2026
  • disclosed10 Apr 2017

Introduced: 10 Apr 2017

CVE-2017-7619  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Echo:latest imagemagick to version 8:6.9.7.4+dfsg-4 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 Echo. See How to fix? for Echo:latest relevant fixed versions and status.

In ImageMagick 7.0.4-9, an infinite loop can occur because of a floating-point rounding error in some of the color algorithms. This affects ModulateHSL, ModulateHCL, ModulateHCLp, ModulateHSB, ModulateHSI, ModulateHSV, ModulateHWB, ModulateLCHab, and ModulateLCHuv.