CVE-2018-6405
ImageMagick: Memory leak in coders/dcm.c:ReadDCMImage can allow for denial of service
Severity
LowRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · January 31, 2018
Updated · November 22, 2025
Description
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 score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 3.3CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CWE-400 · Uncontrolled Resource Consumption