CVE-2016-5240 Denial of service in n/a

Medium 5.5 Published Updated

Remote attackers can cause a denial of service via an infinite loop when processing malicious SVG files in GraphicsMagick or ImageMagick.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-5240?

CVE-2016-5240 is a medium-severity denial of service vulnerability in Graphicsmagick Graphicsmagick, published on 27 Feb 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

The DrawDashPolygon function in magick/render.c in GraphicsMagick before 1.3.24 and the SVG renderer in ImageMagick allow remote attackers to cause a denial of service (infinite loop) by converting a circularly defined SVG file.

Weakness: CWE-20

Which versions are affected by CVE-2016-5240?

It affects 1 product.

Products include Graphicsmagick Graphicsmagick.

How do I fix CVE-2016-5240?

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-2016-5240 being exploited?

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

All Graphicsmagick Graphicsmagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-5240, GHSA-96q6-wwhr-92h9, UBUNTU-CVE-2016-5240.

Is CVE-2016-5240 in your software?

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

Check your SBOMs for free