CVE-2017-18272 Use after free in n/a

Medium 6.5 Published Updated

Attackers can cause a denial of service in ImageMagick by providing a crafted MNG image file that triggers a use-after-free error.

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

CVE-2017-18272 is a medium-severity use after free vulnerability in Imagemagick Imagemagick, 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-25, there is a use-after-free in ReadOneMNGImage in coders/png.c, which allows attackers to cause a denial of service via a crafted MNG image file that is mishandled in an MngInfoDiscardObject call.

Weakness: CWE-416

Which versions are affected by CVE-2017-18272?

It affects 1 product.

Products include Imagemagick Imagemagick.

How do I fix CVE-2017-18272?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2017-18272 being exploited?

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-18272, GHSA-mcm9-58rh-8jmj.

Is CVE-2017-18272 in your software?

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

Check your SBOMs for free