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

Medium 6.5 Published Updated

Remote attackers can cause a denial of service via a crafted file due to a use-after-free vulnerability in ImageMagick.

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

CVE-2017-12877 is a medium-severity use after free vulnerability in Canonical Ubuntu Linux, published on 28 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

Use-after-free vulnerability in the DestroyImage function in image.c in ImageMagick before 7.0.6-6 allows remote attackers to cause a denial of service via a crafted file.

Weakness: CWE-416

Which versions are affected by CVE-2017-12877?

It affects 3 products.

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

How do I fix CVE-2017-12877?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-12877, GHSA-wc68-8h86-hxxj, UBUNTU-CVE-2017-12877.

Is CVE-2017-12877 in your software?

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

Check your SBOMs for free