Integer Overflow or Wraparound Affecting ImageMagick/ImageMagick package, versions [,6.7.5.post10)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
3.92% (93rd 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-3007672
  • published26 Jan 2022
  • disclosed5 Jun 2012
  • creditUnknown

Introduced: 5 Jun 2012

CVE-2012-1185  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.7.5.post10 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. Multiple integer overflows in (1) magick/profile.c or (2) magick/property.c in ImageMagick 6.7.5 and earlier allow remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted offset value in the ResolutionUnit tag in the EXIF IFD0 of an image. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0247.

CVSS Scores

version 3.1