Missing Release of Resource after Effective Lifetime Affecting imagemagick package, versions <8:6.8.9.9-7ubuntu5.11


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.1% (43rd 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 IDSNYK-UBUNTU1604-IMAGEMAGICK-400995
  • published12 Jan 2018
  • disclosed12 Jan 2018

Introduced: 12 Jan 2018

CVE-2018-5358  (opens in a new tab)
CWE-772  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 imagemagick to version 8:6.8.9.9-7ubuntu5.11 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 Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

ImageMagick 7.0.7-22 Q16 has memory leaks in the EncodeImageAttributes function in coders/json.c, as demonstrated by the ReadPSDLayersInternal function in coders/psd.c.