Unchecked Return Value Affecting ImageMagick/ImageMagick package, versions [,6.9.4-8)[7.0.0-0,7.0.1-10)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.73% (81st 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-3007917
  • published26 Jan 2022
  • disclosed3 Mar 2017
  • creditUnknown

Introduced: 3 Mar 2017

CVE-2016-10061  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.4-8, 7.0.1-10 or higher.

Overview

Affected versions of this package are vulnerable to Unchecked Return Value. The ReadGROUP4Image function in coders/tiff.c in ImageMagick before 7.0.1-10 does not check the return value of the fputc function, which allows remote attackers to cause a denial of service (crash) via a crafted image file.

CVSS Scores

version 3.1