Medium severity · published Aug 24, 2017
CVE-2017-13658
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…
6.5
CVSS
1.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 71% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
IM
Imagemagick · Imagemagick
through 6.9.9-2; 7.0.1-0; 7.0.1-1; 7.0.1-2; 7.0.1-3; 7.0.1-4; +34 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-13658
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-13658
Issue Tracking
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870019
Issue Tracking
https://github.com/ImageMagick/ImageMagick/commit/e5c063a1007506ba69e97a35effcdef944421c89
Issue Tracking
https://github.com/ImageMagick/ImageMagick/issues/598
lists.debian.org
https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html
lists.debian.org
https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html
More from Imagemagick
8.4
CVE-2016-3714
ImageMagick Improper Input Validation Vulnerability
5.5
CVE-2016-3715
ImageMagick Arbitrary File Deletion Vulnerability
5.5
CVE-2016-3718
ImageMagick Server-Side Request Forgery (SSRF) Vulnerability
9.8
CVE-2026-25986
ImageMagick has a heap buffer overflow in YUV 4:2:2 decoder
9.8
CVE-2026-25983
ImageMagick has Use After Free in MSLStartElement in "coders/msl.c"
