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

Medium 6.5 Published Updated

Remote attackers can cause a denial of service via a crafted image file triggering an infinite loop in GraphicsMagick.

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

CVE-2018-5685 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 14 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 GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.

Weakness: CWE-835

Which versions are affected by CVE-2018-5685?

It affects 2 products.

Products include Debian Debian Linux, Graphicsmagick Graphicsmagick.

How do I fix CVE-2018-5685?

Apply the vendor's patch.

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

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-5685, DLA-1245-1, GHSA-3r44-xhxh-qh7x, UBUNTU-CVE-2018-5685.

Is CVE-2018-5685 in your software?

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

Check your SBOMs for free