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

Medium 6.5 Published Updated

Attackers can cause a denial of service in ImageMagick via an invalid free vulnerability in the PNG coder.

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

CVE-2017-12671 is a medium-severity use after free vulnerability in Imagemagick Imagemagick, published on 7 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

In ImageMagick 7.0.6-3, a missing NULL assignment was found in coders/png.c, leading to an invalid free in the function RelinquishMagickMemory in MagickCore/memory.c, which allows attackers to cause a denial of service.

Weakness: CWE-416

Which versions are affected by CVE-2017-12671?

It affects 1 product.

Products include Imagemagick Imagemagick.

How do I fix CVE-2017-12671?

Apply the vendor's patch.

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-12671 being exploited?

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-12671, GHSA-3g35-2jhp-9xcc.

Is CVE-2017-12671 in your software?

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

Check your SBOMs for free