CVE-2017-14042 Denial of service in n/a

Medium 6.5 Published Updated

A memory allocation failure in GraphicsMagick allows remote attackers to cause a denial of service via crafted PNM images.

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

CVE-2017-14042 is a medium-severity denial of service vulnerability in Graphicsmagick Graphicsmagick, published on 30 Aug 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

A memory allocation failure was discovered in the ReadPNMImage function in coders/pnm.c in GraphicsMagick 1.3.26. The vulnerability causes a big memory allocation, which may lead to remote denial of service in the MagickRealloc function in magick/memory.c.

Weakness: CWE-119

Which versions are affected by CVE-2017-14042?

It affects 1 product.

Products include Graphicsmagick Graphicsmagick.

How do I fix CVE-2017-14042?

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-2017-14042 being exploited?

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

All Graphicsmagick Graphicsmagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-14042, GHSA-m5q2-75v9-r9fr, UBUNTU-CVE-2017-14042.

Is CVE-2017-14042 in your software?

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

Check your SBOMs for free