CVE-2017-13658 Null dereference in n/a

Medium 6.5 Published Updated

A missing NULL check in ImageMagick allows attackers to cause a denial of service via crafted MAT images, requiring an upgrade to fix.

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

CVE-2017-13658 is a medium-severity vulnerability in Imagemagick Imagemagick, published on 24 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

In ImageMagick before 6.9.9-3 and 7.x before 7.0.6-3, there is a missing NULL check in the ReadMATImage function in coders/mat.c, leading to a denial of service (assertion failure and application exit) in the DestroyImageInfo function in MagickCore/image.c.

Weakness: CWE-617

Which versions are affected by CVE-2017-13658?

It affects 1 product.

Products include Imagemagick Imagemagick.

How do I fix CVE-2017-13658?

Upgrade to a fixed version.

Is CVE-2017-13658 being exploited?

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-13658, GHSA-6m75-6pmc-2r2r.

Is CVE-2017-13658 in your software?

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

Check your SBOMs for free