CVE-2017-16546 Memory corruption in n/a

High 8.8 Published Updated

Remote attackers can cause denial of service or potential code execution via malformed WPG files due to improper validation 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-16546?

CVE-2017-16546 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 5 Nov 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

The ReadWPGImage function in coders/wpg.c in ImageMagick 7.0.7-9 does not properly validate the colormap index in a WPG palette, which allows remote attackers to cause a denial of service (use of uninitialized data or invalid memory allocation) or possibly have unspecified other impact via a malformed WPG file.

Weakness: CWE-119

Which versions are affected by CVE-2017-16546?

It affects 3 products.

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

How do I fix CVE-2017-16546?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-16546 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-16546, GHSA-8r2v-x2w3-6hv7, UBUNTU-CVE-2017-16546.

Is CVE-2017-16546 in your software?

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

Check your SBOMs for free