NULL Pointer Dereference Affecting ImageMagick/ImageMagick package, versions [0,7.0.7-1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.34% (72nd 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-IMAGEMAGICKIMAGEMAGICK-3007786
  • published26 Jan 2022
  • disclosed17 Sept 2017
  • creditUnknown

Introduced: 17 Sep 2017

CVE-2017-14505  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 7.0.7-1 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference. DrawGetStrokeDashArray in wand/drawing-wand.c in ImageMagick 7.0.7-1 mishandles certain NULL arrays, which allows attackers to perform Denial of Service (NULL pointer dereference and application crash in AcquireQuantumMemory within MagickCore/memory.c) by providing a crafted Image File as input.

References

CVSS Scores

version 3.1