Use After Free Affecting ImageMagick/ImageMagick package, versions [,6.9.9-6)[7.0.0-0,7.0.6-6)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
3.79% (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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-IMAGEMAGICKIMAGEMAGICK-3007895
  • published26 Jan 2022
  • disclosed28 Aug 2017
  • creditUnknown

Introduced: 28 Aug 2017

CVE-2017-12877  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.9-6, 7.0.6-6 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. Use-after-free vulnerability in the DestroyImage function in image.c in ImageMagick before 7.0.6-6 allows remote attackers to cause a denial of service via a crafted file.

References

CVSS Scores

version 3.1