CWE
772
Advisory Published
Updated

CVE-2018-6405

First published: Tue Jan 30 2018(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
debian/imagemagick
8:6.9.11.60+dfsg-1.3+deb11u4
8:6.9.11.60+dfsg-1.3+deb11u3
8:6.9.11.60+dfsg-1.6+deb12u2
8:6.9.11.60+dfsg-1.6+deb12u1
8:7.1.1.43+dfsg1-1
ImageMagick<6.9.9-35
ImageMagick>=7.0.0-0<7.0.7-23
Ubuntu=14.04
Ubuntu=16.04
Ubuntu=17.10
Ubuntu=18.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this vulnerability?

    The vulnerability ID for this vulnerability is CVE-2018-6405.

  • What is the severity of CVE-2018-6405?

    The severity of CVE-2018-6405 is medium with a severity value of 6.5.

  • Which software is affected by CVE-2018-6405?

    ImageMagick versions before 7.0.7-23 are affected by CVE-2018-6405.

  • How can an attacker exploit this vulnerability?

    Remote attackers can cause a denial of service by exploiting the memory leak in the affected versions of ImageMagick.

  • What is the remedy for CVE-2018-6405?

    Upgrade ImageMagick to version 7.0.7-23 or higher to fix CVE-2018-6405.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203