CVE-2018-5246 Denial of service in n/a

Medium 6.5 Published Updated

Memory leaks in ImageMagick's pattern image reader can lead to resource exhaustion and denial of service.

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-2018-5246?

CVE-2018-5246 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 5 Jan 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-17 Q16, there are memory leaks in ReadPATTERNImage in coders/pattern.c.

Weakness: CWE-772

Which versions are affected by CVE-2018-5246?

It affects 2 products.

Products include Canonical Ubuntu Linux, Imagemagick Imagemagick.

How do I fix CVE-2018-5246?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-5246 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-5246, GHSA-jg5v-cpqp-fcx5, UBUNTU-CVE-2018-5246.

Is CVE-2018-5246 in your software?

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

Check your SBOMs for free