All vulnerabilities

Servers and applications

CVE-2018-6405

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.

Severity
Medium 6.5
Published
30 Jan 2018
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
6.9.9-35, 7.0.7-23
Exploit chance
1.7% in the next 30 daysHigher than 77% of CVEs. EPSS by FIRST, 11 Nov 2026
Weakness
CWE-772
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Sources
NVD

Affected software

SoftwareAffected versions
ImageMagickServers and applications · cpe:a:imagemagick:imagemagick
  • Every version before 6.9.9-35
  • From 7.0.0-0 before 7.0.7-23

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2018-6405
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-6405