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

Medium 6.5 Published Updated

Memory leaks in ImageMagick's JSON encoder 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-5358?

CVE-2018-5358 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 12 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

ImageMagick 7.0.7-22 Q16 has memory leaks in the EncodeImageAttributes function in coders/json.c, as demonstrated by the ReadPSDLayersInternal function in coders/psd.c.

Weakness: CWE-772

Which versions are affected by CVE-2018-5358?

It affects 2 products.

Products include Canonical Ubuntu Linux, Imagemagick Imagemagick.

How do I fix CVE-2018-5358?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-5358, GHSA-w3v7-4j7j-756r, UBUNTU-CVE-2018-5358.

Is CVE-2018-5358 in your software?

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

Check your SBOMs for free