CVE-2017-12140 Integer overflow in n/a

Medium 6.5 Published Updated

An attacker can cause excessive memory consumption and denial of service by providing a crafted DCM file to the ImageMagick library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-12140?

CVE-2017-12140 is a medium-severity vulnerability in Imagemagick Imagemagick, published on 2 Aug 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The ReadDCMImage function in coders\dcm.c in ImageMagick 7.0.6-1 has an integer signedness error leading to excessive memory consumption via a crafted DCM file.

Weakness: CWE-681, CWE-400

Which versions are affected by CVE-2017-12140?

It affects 1 product.

Products include Imagemagick Imagemagick.

How do I fix CVE-2017-12140?

Upgrade to a fixed version.

Is CVE-2017-12140 being exploited?

There is no known exploitation of CVE-2017-12140 in the wild and no public exploit code.

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-12140, GHSA-fmx2-4qmc-7h5p, UBUNTU-CVE-2017-12140.

Is CVE-2017-12140 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free