Out-of-Bounds Affecting ImageMagick/ImageMagick package, versions [,6.3.5-9)


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.5% (77th 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-3007921
  • published26 Jan 2022
  • disclosed24 Sept 2007
  • creditUnknown

Introduced: 24 Sep 2007

CVE-2007-4988  (opens in a new tab)
CWE-119  (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 Out-of-Bounds. Sign extension error in the ReadDIBImage function in ImageMagick before 6.3.5-9 allows context-dependent attackers to execute arbitrary code via a crafted width value in an image file, which triggers an integer overflow and a heap-based buffer overflow.

References

CVSS Scores

version 3.1