Improper Input Validation Affecting ImageMagick/ImageMagick package, versions [,6.9.9-0)[7.0.1-0,7.0.6-1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.24% (68th 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-3007519
  • published26 Jan 2022
  • disclosed4 Aug 2017
  • creditUnknown

Introduced: 4 Aug 2017

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

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.9-0, 7.0.6-1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. In ImageMagick 7.0.6-1, a missing NULL check vulnerability was found in the function ReadMATImage in coders/mat.c, which allows attackers to cause a denial of service (assertion failure) in DestroyImageInfo in image.c.

CVSS Base Scores

version 3.1