Integer Overflow or Wraparound Affecting ImageMagick/ImageMagick package, versions [,6.9.10-50)[7.0.0-0,7.0.2-10)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
4.89% (92nd 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-IMAGEMAGICKIMAGEMAGICK-3007923
  • published26 Jan 2022
  • disclosed18 Jan 2017
  • creditUnknown

Introduced: 18 Jan 2017

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

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.10-50, 7.0.2-10 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. Integer overflow in the BMP coder in ImageMagick before 7.0.2-10 allows remote attackers to cause a denial of service (crash) via crafted height and width values, which triggers an out-of-bounds write.

References

CVSS Base Scores

version 3.1