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

Medium 6.5 Published Updated

A use-after-free flaw in ImageMagick allows attackers to cause a denial of service via crafted WMF images.

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

CVE-2017-12431 is a medium-severity use after free vulnerability in Imagemagick Imagemagick, published on 4 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-1, a use-after-free vulnerability was found in the function ReadWMFImage in coders/wmf.c, which allows attackers to cause a denial of service.

Weakness: CWE-416

Which versions are affected by CVE-2017-12431?

It affects 1 product.

Products include Imagemagick Imagemagick.

How do I fix CVE-2017-12431?

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

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-12431, GHSA-p95x-45rv-wpxr, UBUNTU-CVE-2017-12431.

Is CVE-2017-12431 in your software?

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

Check your SBOMs for free