Missing Release of Resource after Effective Lifetime Affecting imagemagick package, versions <8:6.9.9.34+dfsg-3


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.12% (49th 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-DEBIAN11-IMAGEMAGICK-520774
  • published30 Jan 2018
  • disclosed30 Jan 2018

Introduced: 30 Jan 2018

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

How to fix?

Upgrade Debian:11 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:11 relevant fixed versions and status.

In the ReadDCMImage function in coders/dcm.c in ImageMagick before 7.0.7-23, each redmap, greenmap, and bluemap variable can be overwritten by a new pointer. The previous pointer is lost, which leads to a memory leak. This allows remote attackers to cause a denial of service.

CVSS Scores

version 3.1