NULL Pointer Dereference Affecting imagemagick package, versions <8:6.9.9.34+dfsg-3


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.53% (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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-IMAGEMAGICK-402572
  • published1 Mar 2018
  • disclosed1 Mar 2018

Introduced: 1 Mar 2018

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

How to fix?

Upgrade Debian:unstable imagemagick to version 8:6.9.9.34+dfsg-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream imagemagick package and not the imagemagick package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

In the GetOpenCLCachedFilesDirectory function in magick/opencl.c in ImageMagick 7.0.7, a NULL pointer dereference vulnerability occurs because a memory allocation result is not checked, related to GetOpenCLCacheDirectory.