Loop with Unreachable Exit Condition ('Infinite Loop') Affecting ImageMagick package, versions <0:6.7.8.9-15.el7_2


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
2.18% (82nd 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-RHEL7-IMAGEMAGICK-5136030
  • published26 Jul 2021
  • disclosed1 May 2016

Introduced: 1 May 2016

CVE-2016-5240  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade RHEL:7 ImageMagick to version 0:6.7.8.9-15.el7_2 or higher.
This issue was patched in RHSA-2016:1237.

NVD Description

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

The DrawDashPolygon function in magick/render.c in GraphicsMagick before 1.3.24 and the SVG renderer in ImageMagick allow remote attackers to cause a denial of service (infinite loop) by converting a circularly defined SVG file.

CVSS Base Scores

version 3.1