Integer Overflow or Wraparound Affecting ImageMagick/ImageMagick package, versions [,7.0.2.post2)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
5.49% (94th 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-3007877
  • published26 Jan 2022
  • disclosed13 Dec 2016
  • creditUnknown

Introduced: 13 Dec 2016

CVE-2016-5841  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 7.0.2.post2 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of service (segmentation fault) or possibly execute arbitrary code via vectors involving the offset variable.

CVSS Scores

version 3.1