Improper Input Validation Affecting ImageMagick/ImageMagick package, versions [,6.9.8-6)[7.0.1-0,7.0.5-7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.17% (80th 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-UNMANAGED-IMAGEMAGICKIMAGEMAGICK-3007760
  • published26 Jan 2022
  • disclosed22 May 2017
  • creditUnknown

Introduced: 22 May 2017

CVE-2017-9141  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-617  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.8-6, 7.0.5-7 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. In ImageMagick 7.0.5-7 Q16, a crafted file could trigger an assertion failure in the ResetImageProfileIterator function in MagickCore/profile.c because of missing checks in the ReadDDSImage function in coders/dds.c.

CVSS Base Scores

version 3.1