CVE-2017-13658
CVE-2017-13658 is a medium-severity vulnerability in Imagemagick with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-617.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v2: 4.3
- EPSS exploit prediction: 1% (68th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-617
- Affected product: Imagemagick
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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 and application exit) in the DestroyImageInfo function in MagickCore/image.c.
- How severe is CVE-2017-13658?
- CVE-2017-13658 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2017-13658 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (68th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2017-13658?
- CVE-2017-13658 primarily affects Imagemagick. In total, 57 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2017-13658?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2017-13658 published?
- CVE-2017-13658 was published on 2017-08-24 and last updated on 2026-06-17.
References
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870019
- https://github.com/ImageMagick/ImageMagick/commit/e5c063a1007506ba69e97a35effcdef944421c89
- https://github.com/ImageMagick/ImageMagick/issues/598
- https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html
Affected products (57)
- cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-0:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-1:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-2:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-3:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-4:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-5:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-6:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-7:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-8:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-9:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-10:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.2-0:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.2-1:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.2-2:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.2-3:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.2-4:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.2-5:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.2-6:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.2-7:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.2-8:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.2-9:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.2-10:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.3-0:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.3-1:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.3-2:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.3-3:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.3-4:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.3-5:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.3-6:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.3-7:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.3-8:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.3-9:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.3-10:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.4-0:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.4-1:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.4-2:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.4-3:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.4-4:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:7.0.4-5:*:*:*:*:*:*:*
More vulnerabilities in Imagemagick
- CVE-2004-0981 — Critical (CVSS 10.0): Buffer overflow in the EXIF parsing routine in ImageMagick before 6.1.0 allows remote attackers to execute arbitrary…
- CVE-2023-34152 — Critical (CVSS 9.8): A vulnerability was found in ImageMagick. This security flaw cause a remote code execution vulnerability in OpenBlob…
- CVE-2019-19952 — Critical (CVSS 9.8): In ImageMagick 7.0.9-7 Q16, there is a use-after-free in the function MngInfoDiscardObject of coders/png.c, related to…
- CVE-2019-19948 — Critical (CVSS 9.8): In ImageMagick 7.0.8-43 Q16, there is a heap-based buffer overflow in the function WriteSGIImage of coders/sgi.c.
- CVE-2018-16329 — Critical (CVSS 9.8): In ImageMagick before 7.0.8-8, a NULL pointer dereference exists in the GetMagickProperty function in…
- CVE-2018-16328 — Critical (CVSS 9.8): In ImageMagick before 7.0.8-8, a NULL pointer dereference exists in the CheckEventLogging function in MagickCore/log.c.
All CVEs affecting Imagemagick →
Other CWE-617 (Reachable Assertion) vulnerabilities
- CVE-2020-3615 — Critical (CVSS 9.8): Valid deauth/disassoc frames is dropped in case if RMF is enabled and some rouge peer keep on sending rogue…
- CVE-2019-9795 — Critical (CVSS 9.8): A vulnerability where type-confusion in the IonMonkey just-in-time (JIT) compiler could potentially be used by…
- CVE-2026-31739 — High (CVSS 8.8): In the Linux kernel, the following vulnerability has been resolved: crypto: tegra - Add missing CRYPTO_ALG_ASYNC The…
- CVE-2020-12417 — High (CVSS 8.8): Due to confusion about ValueTags on JavaScript Objects, an object may pass through the type barrier, resulting in…
- CVE-2020-6623 — High (CVSS 8.8): stb stb_truetype.h through 1.22 has an assertion failure in stbtt__cff_get_index.
- CVE-2020-6619 — High (CVSS 8.8): stb stb_truetype.h through 1.22 has an assertion failure in stbtt__buf_seek.