CVE-2017-18271 Denial of service in n/a

Medium 6.5 Published Updated

Attackers can cause CPU exhaustion and denial of service in ImageMagick by providing a crafted MIFF image file.

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-18271?

CVE-2017-18271 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 18 May 2018. 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

In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-22, an infinite loop vulnerability was found in the function ReadMIFFImage in coders/miff.c, which allows attackers to cause a denial of service (CPU exhaustion) via a crafted MIFF image file.

Weakness: CWE-835

Which versions are affected by CVE-2017-18271?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Imagemagick Imagemagick.

How do I fix CVE-2017-18271?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2017-18271 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-18271, GHSA-mcqr-w7vq-7qjv, UBUNTU-CVE-2017-18271.

Is CVE-2017-18271 in your software?

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

Check your SBOMs for free