Denial of Service (DoS) Affecting ImageMagick/ImageMagick package, versions [,6.3.5-9)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.38% (74th 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-3007667
  • published26 Jan 2022
  • disclosed24 Sept 2007
  • creditUnknown

Introduced: 24 Sep 2007

CVE-2007-4987  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.3.5-9 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). Off-by-one error in the ReadBlobString function in blob.c in ImageMagick before 6.3.5-9 allows context-dependent attackers to execute arbitrary code via a crafted image file, which triggers the writing of a '\0' character to an out-of-bounds address.

References

CVSS Scores

version 3.1