Use After Free Affecting ImageMagick/ImageMagick package, versions [,1.3.31)[6.9.0, 6.9.10-43)[7.0.0, 7.0.8-43)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
1.26% (86th 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-3007840
  • published26 Jan 2022
  • disclosed18 Aug 2019
  • creditUnknown

Introduced: 18 Aug 2019

CVE-2019-15140  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 1.3.31, 6.9.10-43, 7.0.8-43 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free coders/mat.c in ImageMagick 7.0.8-43 Q16 allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by crafting a Matlab image file that is mishandled in ReadImage in MagickCore/constitute.c.

CVSS Scores

version 3.1