Live threats

All CVEs / Imagemagick

CVE-2018-6405Imagemagick

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.7%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Jan 30, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-772
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Imagemagick.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
imagemagickimagemagick< 6.9.9-35
imagemagickimagemagick≥ 7.0.0-0 < 7.0.7-23
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.10
canonicalubuntu_linux18.04

Official sources

References

Links published by the sources. Open them with care.